diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b301ca6..6da7e74 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,7 +82,9 @@ jobs: namedLogo: pytest - name: Upload Coverage to Codecov if: ${{ matrix.python_version == '3.11' && matrix.os == 'ubuntu-latest' }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: coverage.xml flags: unittests diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index cce68cf..50c09c5 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -59,7 +59,9 @@ jobs: python setup.py test - name: Upload Coverage to Codecov if: ${{ matrix.os == 'ubuntu-latest' }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: coverage.xml flags: unittests