We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9021967 commit c59136bCopy full SHA for c59136b
2 files changed
.github/workflows/test_and_cov.yml
@@ -47,12 +47,9 @@ jobs:
47
mkdir -p "$HF_HOME"
48
[ -z "$(ls "$HF_HOME")" ] || rm "${HF_HOME:?}/*" -rf && true
49
50
- - name: run tests
51
- run: pdm run pytest --enable-coredumpy --coredumpy-dir ${{ env.COREDUMPY_DUMP_DIR }}
52
-
53
- name: run coverage
54
run: |
55
- pdm run coverage run -m pytest
+ sh ./scripts/coverage.sh
56
pdm run coverage report -m
57
pdm run coverage xml -i
58
Makefile
@@ -25,7 +25,7 @@ multitest:
25
26
coverage:
27
make deps; \
28
- pdm run coverage run $(EXTRA_COVERAGEPY_ARGS) -m pytest; \
+ pdm run coverage run $(EXTRA_COVERAGEPY_ARGS) -m pytest --enable-coredumpy --coredumpy-dir dumps; \
29
pdm run coverage html; \
30
31
0 commit comments