fix: use coverage rather than pytest-cov
CI for mx_bec / test (push) Failing after 1m15s
CI for mx_bec / test (pull_request) Failing after 1m15s

This commit is contained in:
perl_d committed 2026-11-24 11:14:52 +01:00
1 parent 7656b45dcb
commit 1640ef9657
1 file changed
+6 -1
+6 -1
View File
@@ -100,4 +100,9 @@ jobs:
- name: Run Pytest with Coverage
id: coverage
run: pytest --random-order --cov=./mx_bec --cov-config=./mx_bec/pyproject.toml --cov-branch --cov-report=xml --no-cov-on-fail ./mx_bec/tests/ || test $? -eq 5
run: |
if coverage run --rcfile=./mx_bec/pyproject.toml --branch --source=./mx_bec -m pytest --random-order ./mx_bec/tests/; then
coverage xml --rcfile=./mx_bec/pyproject.toml
else
test $? -eq 5
fi