mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
fix(build): test coverage in pytest
This commit is contained in:
@@ -181,7 +181,7 @@ jobs:
|
||||
make pytest_nb
|
||||
- name: Test coverage
|
||||
id: coverage
|
||||
if: ${{ steps.pytest.outcome != 'skipped' && !cancelled() }}
|
||||
if: ${{ always() && steps.pytest.outcome != 'skipped' && !cancelled() }}
|
||||
run: |
|
||||
./script/actions_utils/coverage.sh ${{ github.base_ref }}
|
||||
- name: Archive test coverage
|
||||
|
||||
3
Makefile
3
Makefile
@@ -76,7 +76,8 @@ pcc_internal: check_python_format check_finalize_nb python_linting mypy_ci pydoc
|
||||
|
||||
pytest:
|
||||
poetry run pytest -svv \
|
||||
--cov=$(SRC_DIR) --cov-report=term-missing:skip-covered --cov-report=xml tests/
|
||||
--cov=$(SRC_DIR) --cov-fail-under=100 \
|
||||
--cov-report=term-missing:skip-covered --cov-report=xml tests/
|
||||
.PHONY: pytest
|
||||
|
||||
# Not a huge fan of ignoring missing imports, but some packages do not have typing stubs
|
||||
|
||||
Reference in New Issue
Block a user