diff --git a/.github/workflows/pytest-coverage.yml b/.github/workflows/pytest-coverage.yml index 47e041d..c15cde8 100644 --- a/.github/workflows/pytest-coverage.yml +++ b/.github/workflows/pytest-coverage.yml @@ -35,12 +35,8 @@ jobs: - name: Generate coverage report run: | poetry run coverage xml - poetry run coverage html - - name: Upload coverage report - uses: actions/upload-artifact@v3 + - name: Upload results to Codecov + uses: codecov/codecov-action@v4 with: - name: coverage-report - path: | - htmlcov - coverage.xml + token: ${{ secrets.CODECOV_TOKEN }}