Skip to content

Commit 8d2ad83

Browse files
committed
CI: split up steps
1 parent f35a216 commit 8d2ad83

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@ jobs:
2929
pixi-version: v0.45.0
3030
cache: true
3131
environments: ${{ matrix.environment }}
32+
- name: Build xsf
33+
run: pixi run --environment=tests-ci build-tests-ci
3234
- name: Run tests
33-
run: pixi run --environment=tests-ci tests-coverage-ci
35+
run: pixi run --skip-deps --environment=tests-ci tests-ci
36+
- name: Generate converage
37+
run: pixi run --skip-deps --environment=tests-ci coverage
3438
- name: Upload HTML coverage report
3539
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
3640
with:

pixi.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ coverage.cmd = [
117117
]
118118
coverage.depends-on = ["tests-ci"]
119119
coverage.cwd = "."
120-
# Tests and coverage
121-
tests-coverage-ci.depends-on = ["coverage"]
120+
122121

123122
[environments]
124123
default = { features = ["build", "tests"], solve-group = "default" }

0 commit comments

Comments
 (0)