You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove single-element strategy.matrix from all CI workflow jobs and
rename job IDs from generic cpu-test/cpu-unit-test to {project}-tests.
Update branch protection required checks to match.
When a matrix job is skipped via if: condition, GitHub Actions never
expands the matrix, so parameterized check names like
cpu-unit-tests (3.11, 0.8.0) are never created and branch protection
waits forever. Inlining the values and dropping the matrix fixes this.
New required checks: levanter-tests, levanter-ray-tests,
levanter-entry-tests, levanter-torch-tests, marin-tests, zephyr-tests,
haliax-tests, iris-tests, fray-tests, marin-itest, build-docs,
lint-and-format.
Follows up on #3986. Fixes#3985.
Copy file name to clipboardExpand all lines: .github/workflows/levanter-tests.yaml
+11-28Lines changed: 11 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -30,14 +30,10 @@ jobs:
30
30
- 'uv.lock'
31
31
- '.github/workflows/levanter-tests.yaml'
32
32
33
-
cpu-unit-tests:
33
+
levanter-tests:
34
34
needs: changes
35
35
if: needs.changes.outputs.should_run == 'true'
36
36
runs-on: ubuntu-latest
37
-
strategy:
38
-
matrix:
39
-
python-version: ["3.11"]
40
-
jax-version: ["0.8.0"]
41
37
defaults:
42
38
run:
43
39
working-directory: lib/levanter
@@ -48,7 +44,7 @@ jobs:
48
44
uses: astral-sh/setup-uv@v6
49
45
with:
50
46
version: "0.7.20"
51
-
python-version: ${{ matrix.python-version }}
47
+
python-version: "3.11"
52
48
enable-cache: true
53
49
working-directory: lib/levanter
54
50
- name: Set up Node.js
@@ -62,15 +58,12 @@ jobs:
62
58
- name: Test with pytest
63
59
run: |
64
60
# Test with specific JAX version, excluding TPU tests
65
-
PYTHONPATH=tests:src:. uv run --package levanter --frozen --with "jax[cpu]==${{ matrix.jax-version }}" pytest tests -m "not entry and not slow and not ray and not tpu" --durations=20
61
+
PYTHONPATH=tests:src:. uv run --package levanter --frozen --with "jax[cpu]==0.8.0" pytest tests -m "not entry and not slow and not ray and not tpu" --durations=20
0 commit comments