From 38317baea221ebedfd4bf1af0e14d6c0099bb736 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 07:48:45 +0000 Subject: [PATCH 1/2] Build(deps): Bump codecov/codecov-action from 3 to 4 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/pythonpackage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 63cacd46b55..a3b475de9a8 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -190,7 +190,7 @@ 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 test-pre: @@ -245,7 +245,7 @@ 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 name: Submit to CodeCov flake8: From 6d0c4d19cb3235fa8fc0da1466b1bc7795496441 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Tue, 6 Feb 2024 10:53:11 -0500 Subject: [PATCH 2/2] CI: Pass token to codecov action --- .github/workflows/pythonpackage.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index a3b475de9a8..d3ad5fb0259 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -192,6 +192,8 @@ jobs: run: pytest -sv --doctest-modules --cov niworkflows --pyargs niworkflows - uses: codecov/codecov-action@v4 name: Submit to CodeCov + with: + token: ${{ secrets.CODECOV_TOKEN }} test-pre: needs: [get_data, job_metadata] @@ -246,6 +248,8 @@ jobs: - name: Run tests run: pytest -sv --doctest-modules --cov niworkflows --pyargs niworkflows - uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} name: Submit to CodeCov flake8: