diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index deca63a..9a84eb9 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -22,7 +22,7 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install codecov + pip install codecov pytest-cov - name: Install system dependencies run: | @@ -31,13 +31,13 @@ jobs: - name: Run tests with coverage run: | - python -m pytest --cov=src/ --cov-report=xml + python -m pytest --cov=src/ --cov-report=xml --cov-report=term - - name: Upload coverage to Codecov + - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: - token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.xml - flags: unittests - name: codecov-umbrella - fail_ci_if_error: true + fail_ci_if_error: false # Don't fail if upload fails + verbose: true