diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 1f8ada87..4bc15c87 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -35,7 +35,6 @@ jobs: - name: Install tox run: pip install tox - run: tox -e ${{ matrix.test }} - - run: tox -e coverage-report - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4.6.0 with: diff --git a/tox.ini b/tox.ini index 43fae19f..8d57c01e 100644 --- a/tox.ini +++ b/tox.ini @@ -20,12 +20,14 @@ commands = pytest bert_e/tests/unit/ --cov=bert_e --cov-report=xml {posargs} [testenv:tests-api-mock] deps = pip==22.3.1 -commands = coverage run -am pytest -v -k mock bert_e/tests/test_git_host.py + pytest-cov==5.0.0 +commands = pytest -v -k mock bert_e/tests/test_git_host.py --cov=bert_e --cov-report=xml {posargs} [testenv:tests-server] deps = pip==22.3.1 -commands = coverage run -am bert_e.tests.test_server + pytest-cov==5.0.0 +commands = pytest bert_e/tests/test_server.py --cov=bert_e --cov-report=xml {posargs} [testenv:tests-noqueue] deps =