Skip to content

Commit 8fb810d

Browse files
committed
CI: upload coverage report
1 parent a7704cd commit 8fb810d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/linux.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,8 @@ jobs:
3333
environments: ${{ matrix.environment }}
3434
- name: Run tests
3535
run: pixi run --environment=tests-ci tests-ci
36+
- name: Upload HTML coverage report
37+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
38+
with:
39+
name: cov-html
40+
path: build/coverage_report/**

pixi.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ configure-coverage.cmd = [
8686
]
8787
configure-coverage.cwd = "."
8888
configure-coverage.env.XSREF_TABLES_PATH = "$PWD/xsref/tables"
89+
# Open coverage report
90+
open-coverage.cmd = ["open", "index.html"]
91+
open-coverage.cwd = "build/coverage_report"
8992

9093
## Tests CI
9194

0 commit comments

Comments
 (0)