diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 63cacd46b55..d3ad5fb0259 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -190,8 +190,10 @@ jobs: run: python -m pip install "niworkflows[tests]" - name: Run tests run: pytest -sv --doctest-modules --cov niworkflows --pyargs niworkflows - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 name: Submit to CodeCov + with: + token: ${{ secrets.CODECOV_TOKEN }} test-pre: needs: [get_data, job_metadata] @@ -245,7 +247,9 @@ jobs: run: python -m pip install $PIP_FLAGS "niworkflows[tests]" - name: Run tests run: pytest -sv --doctest-modules --cov niworkflows --pyargs niworkflows - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} name: Submit to CodeCov flake8: