From 7c68c2d51a64faf14174a8940fffa7e0f13fec09 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 10 Feb 2024 21:53:32 +0000 Subject: [PATCH 1/4] 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/hypothesis.yml | 2 +- .github/workflows/python.yml | 2 +- .github/workflows/rust.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/hypothesis.yml b/.github/workflows/hypothesis.yml index 612be961f2..2a2c7901ac 100644 --- a/.github/workflows/hypothesis.yml +++ b/.github/workflows/hypothesis.yml @@ -29,7 +29,7 @@ jobs: run: tox -e hypothesis,coverage - name: Upload Python coverage to codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: hypothesis-py fail_ci_if_error: true diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 0805449e48..c3b00169d1 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -75,7 +75,7 @@ jobs: PYTHONDEVMODE: 1 - name: Upload Python coverage to codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: python fail_ci_if_error: true diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ddce31eb49..8ead7e2190 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -107,7 +107,7 @@ jobs: run: cargo tarpaulin --all --all-features --timeout 600 --out xml -- --test-threads 1 - name: Upload Rust coverage to codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: rust fail_ci_if_error: true From 37a7fb615e1653535a61d707fca3ed62752b679f Mon Sep 17 00:00:00 2001 From: Luiz Irber Date: Sat, 17 Feb 2024 14:31:29 -0800 Subject: [PATCH 2/4] add CODECOV_TOKEN --- .github/workflows/hypothesis.yml | 2 ++ .github/workflows/python.yml | 2 ++ .github/workflows/rust.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/hypothesis.yml b/.github/workflows/hypothesis.yml index 2a2c7901ac..85947525ab 100644 --- a/.github/workflows/hypothesis.yml +++ b/.github/workflows/hypothesis.yml @@ -30,6 +30,8 @@ jobs: - name: Upload Python coverage to codecov uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: flags: hypothesis-py fail_ci_if_error: true diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index c3b00169d1..d353e3c55f 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -76,6 +76,8 @@ jobs: - name: Upload Python coverage to codecov uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: flags: python fail_ci_if_error: true diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 8ead7e2190..ad3b51b235 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -108,6 +108,8 @@ jobs: - name: Upload Rust coverage to codecov uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: flags: rust fail_ci_if_error: true From c0a0e9ab0c7f6061661448e9e18d3bf9959dbabe Mon Sep 17 00:00:00 2001 From: Luiz Irber Date: Sat, 17 Feb 2024 15:00:08 -0800 Subject: [PATCH 3/4] fix paths for coverage --- .github/workflows/hypothesis.yml | 2 +- .github/workflows/python.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hypothesis.yml b/.github/workflows/hypothesis.yml index 85947525ab..a2862853e7 100644 --- a/.github/workflows/hypothesis.yml +++ b/.github/workflows/hypothesis.yml @@ -35,4 +35,4 @@ jobs: with: flags: hypothesis-py fail_ci_if_error: true - files: .tox/coverage.xml + files: .tox/junit.hypothesis.xml diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index d353e3c55f..d92d8f68a0 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -81,4 +81,4 @@ jobs: with: flags: python fail_ci_if_error: true - files: .tox/coverage.xml + files: ./.tox/coverage.xml From 3647cf9b5f820ea586be1eacb0763eb179aa9b90 Mon Sep 17 00:00:00 2001 From: Luiz Irber Date: Sat, 17 Feb 2024 15:18:12 -0800 Subject: [PATCH 4/4] revert paths, it's a codecov action problem, not us --- .github/workflows/hypothesis.yml | 2 +- .github/workflows/python.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hypothesis.yml b/.github/workflows/hypothesis.yml index a2862853e7..85947525ab 100644 --- a/.github/workflows/hypothesis.yml +++ b/.github/workflows/hypothesis.yml @@ -35,4 +35,4 @@ jobs: with: flags: hypothesis-py fail_ci_if_error: true - files: .tox/junit.hypothesis.xml + files: .tox/coverage.xml diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index d92d8f68a0..d353e3c55f 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -81,4 +81,4 @@ jobs: with: flags: python fail_ci_if_error: true - files: ./.tox/coverage.xml + files: .tox/coverage.xml