From f981e9598d7b4d27cac5977d4bdcdc003bbb83e5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Sep 2023 09:35:28 +0000 Subject: [PATCH] MAINT: enable CODECOV_TOKEN for codecov action (#3573) * MAINT: 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] * Apply suggestions from code review --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> Co-authored-by: Massimo Capodiferro <77293250+maxcapodi78@users.noreply.github.com> --- .github/workflows/unit_test_prerelease.yml | 2 ++ .github/workflows/unit_tests.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/unit_test_prerelease.yml b/.github/workflows/unit_test_prerelease.yml index 4a0b8fda383..1c79c395a48 100644 --- a/.github/workflows/unit_test_prerelease.yml +++ b/.github/workflows/unit_test_prerelease.yml @@ -74,6 +74,8 @@ jobs: pytest --tx 6*popen --durations=50 --dist loadfile -v --cov=pyaedt --cov-report=xml --junitxml=junit/test-results.xml --cov-report=html _unittest - uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} if: matrix.python-version == '3.8' name: 'Upload coverage to Codecov' diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index eaa34ebe120..a853245d5f8 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -73,6 +73,8 @@ jobs: pytest --durations=50 -v --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml _unittest_solvers - uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: name: 'Upload coverage to Codecov' @@ -130,6 +132,8 @@ jobs: pytest -n 6 --dist loadfile --durations=50 -v --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml _unittest - uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: name: 'Upload coverage to Codecov'