From 3b8629e2e34bccc2d0612dabd816beaa5b8ca45b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Feb 2024 01:05:16 +0000 Subject: [PATCH 1/2] Bump codecov/codecov-action from 3.1.6 to 4.0.0 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.6 to 4.0.0. - [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.1.6...v4.0.0) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/pytest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index d87ccb9fb..25abad5b9 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -63,7 +63,7 @@ jobs: run: | pytest --cov=qcodes_contrib_drivers --cov-report xml --cov-config=pyproject.toml tests - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3.1.6 + uses: codecov/codecov-action@v4.0.0 with: file: ./coverage.xml env_vars: OS,PYTHON From eddaf35d2518e1f1bd88141f8e67a279863ab4d6 Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Thu, 1 Feb 2024 09:52:14 +0100 Subject: [PATCH 2/2] add codecov token --- .github/workflows/pytest.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 25abad5b9..34f213d8b 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -20,6 +20,7 @@ jobs: pytestmypy: runs-on: ${{ matrix.os }} + environment: testing-environment strategy: matrix: os: [ubuntu-latest, windows-latest] @@ -67,3 +68,5 @@ jobs: with: file: ./coverage.xml env_vars: OS,PYTHON + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}