fix: use coverage rather than pytest-cov
This commit is contained in:
1 parent
7656b45dcb
commit
56cb795b65
1 file changed
+6
-1
@@ -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=./bec_testing_plugin/pyproject.toml --branch --source=./bec_testing_plugin -m pytest --random-order ./bec_testing_plugin/tests/; then
|
||||
coverage xml --rcfile=./bec_testing_plugin/pyproject.toml
|
||||
else
|
||||
test $? -eq 5
|
||||
fi
|
||||
Reference in new issue
Block a user