kadarakos commited on
Commit
8d13bac
·
1 Parent(s): 92b4acd

fix: switch to make

Browse files
Files changed (1) hide show
  1. .github/workflows/ci.yaml +6 -12
.github/workflows/ci.yaml CHANGED
@@ -14,32 +14,26 @@ jobs:
14
  - name: Checkout repository
15
  uses: actions/checkout@v4
16
 
17
- # -----------------------------
18
- # Setup UV & Cache
19
- # -----------------------------
20
  - name: Install uv
21
  uses: astral-sh/setup-uv@v5
22
  with:
23
- # Automatically caches the .uv cache directory
24
  enable-cache: true
25
- # Re-runs install only if uv.lock changes
26
- cache-dependency-glob: "uv.lock"
27
  python-version: '3.12'
28
 
29
  - name: Install dependencies
30
  run: uv sync --all-extras --dev
31
 
32
  # -----------------------------
33
- # Run Synchronized Scripts
34
  # -----------------------------
35
  - name: Quality Checks
36
  run: |
37
- uv run lint
38
- uv run format-check
39
- uv run type-check
40
 
41
  - name: Run Tests
42
- run: uv run test
43
 
44
  # -----------------------------
45
  # Coverage & Tagging
@@ -48,7 +42,7 @@ jobs:
48
  env:
49
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50
  run: |
51
- # Use uv run to ensure coverage tool is available
52
  TOTAL_COV=$(uv run coverage report | grep TOTAL | awk '{print int($4)}')
53
  echo "TOTAL_COV=$TOTAL_COV" >> $GITHUB_ENV
54
 
 
14
  - name: Checkout repository
15
  uses: actions/checkout@v4
16
 
 
 
 
17
  - name: Install uv
18
  uses: astral-sh/setup-uv@v5
19
  with:
 
20
  enable-cache: true
 
 
21
  python-version: '3.12'
22
 
23
  - name: Install dependencies
24
  run: uv sync --all-extras --dev
25
 
26
  # -----------------------------
27
+ # Run Makefile Targets
28
  # -----------------------------
29
  - name: Quality Checks
30
  run: |
31
+ make lint
32
+ make format-check
33
+ make type-check
34
 
35
  - name: Run Tests
36
+ run: make test
37
 
38
  # -----------------------------
39
  # Coverage & Tagging
 
42
  env:
43
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44
  run: |
45
+ # Still using uv run here to ensure coverage tool is found
46
  TOTAL_COV=$(uv run coverage report | grep TOTAL | awk '{print int($4)}')
47
  echo "TOTAL_COV=$TOTAL_COV" >> $GITHUB_ENV
48