diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 908f0d2..75a08e9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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