Skip to content

Commit a78a03e

Browse files
committed
Use just in CI
1 parent 677bdf5 commit a78a03e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ jobs:
2626
- uses: astral-sh/setup-uv@v7
2727
with:
2828
enable-cache: true
29+
- name: Install just
30+
uses: extractions/setup-just@v3
2931
- name: Run type checking
30-
run: uv run --group test --group typing ty check src/ tests/
32+
run: just typing
3133

3234
run-tests:
3335

@@ -51,19 +53,21 @@ jobs:
5153
enable-cache: true
5254
- name: Install Julia dependencies
5355
run: julia --project=. --eval 'import Pkg; Pkg.instantiate()'
56+
- name: Install just
57+
uses: extractions/setup-just@v3
5458

5559
# Unit, integration, and end-to-end tests.
5660

5761
- name: Run unit tests and doctests.
58-
run: uv run --group test pytest -m "unit or (not integration and not end_to_end)" --cov src --cov tests --cov-report=xml -n auto
62+
run: just test-cov -m "unit or (not integration and not end_to_end)"
5963

6064
- name: Upload unit test coverage reports to Codecov with GitHub Action
6165
uses: codecov/codecov-action@v5
6266
with:
6367
flags: unit
6468

6569
- name: Run end-to-end tests.
66-
run: uv run --group test pytest -m end_to_end --cov src --cov tests --cov-report=xml -n auto
70+
run: just test-cov -m end_to_end
6771

6872
- name: Upload end_to_end test coverage reports to Codecov with GitHub Action
6973
uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)