diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f7923eb..e9c5e65 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -41,7 +41,9 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - python3 -m pytest --cov - - name: Upload coverage to Codecov + python3 -m pytest --cov --cov-report=xml + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4 if: matrix.python-version == 3.10 - uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }}