From f0c5a831f24b76cba5acb0dd0cbcf946903d4327 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 09:10:50 +0100 Subject: [PATCH] BUILD: bump codecov/codecov-action from 4 to 5 (#5475) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sébastien Morais <146729917+SMoraisAnsys@users.noreply.github.com> --- .github/workflows/ci_cd.yml | 30 +++++++++------------- .github/workflows/manual_draft.yml | 20 ++++++--------- .github/workflows/unit_test_prerelease.yml | 2 +- 3 files changed, 21 insertions(+), 31 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index c18432f0ce9..c386b35c3ae 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -95,11 +95,10 @@ jobs: optional-dependencies-name: unit-tests - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: - token: ${{ secrets.CODECOV_TOKEN }} name: codecov-unit-tests - file: ./coverage.xml + files: ./coverage.xml flags: linux_unit - name: Upload pytest test results @@ -123,11 +122,10 @@ jobs: optional-dependencies-name: integration-tests - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: - token: ${{ secrets.CODECOV_TOKEN }} name: codecov-integration-tests - file: ./coverage.xml + files: ./coverage.xml flags: linux_integration - name: Upload pytest test results @@ -182,11 +180,10 @@ jobs: .venv\Scripts\Activate.ps1 pytest ${{ env.PYTEST_ARGUMENTS }} -m solvers - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: - token: ${{ secrets.CODECOV_TOKEN }} name: codecov-system-solvers-tests-windows - file: ./coverage.xml + files: ./coverage.xml flags: windows_system_solvers - name: Upload pytest test results @@ -238,11 +235,10 @@ jobs: source .venv/bin/activate pytest ${{ env.PYTEST_ARGUMENTS }} -m solvers - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: - token: ${{ secrets.CODECOV_TOKEN }} name: codecov-system-solvers-tests-linux - file: ./coverage.xml + files: ./coverage.xml flags: linux_system_solvers - name: Upload pytest test results @@ -302,11 +298,10 @@ jobs: .venv\Scripts\Activate.ps1 pytest ${{ env.PYTEST_ARGUMENTS }} -n 4 --dist loadfile -m general - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: - token: ${{ secrets.CODECOV_TOKEN }} name: codecov-system-general-tests-windows - file: ./coverage.xml + files: ./coverage.xml flags: windows_system_general - name: Upload pytest test results @@ -370,11 +365,10 @@ jobs: source .venv/bin/activate pytest ${{ env.PYTEST_ARGUMENTS }} -n 4 --dist loadfile -m general - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: - token: ${{ secrets.CODECOV_TOKEN }} name: codecov-system-general-tests - file: ./coverage.xml + files: ./coverage.xml flags: linux_system_general - name: Upload pytest test results diff --git a/.github/workflows/manual_draft.yml b/.github/workflows/manual_draft.yml index 0baaee5b7ed..c5f59769bba 100644 --- a/.github/workflows/manual_draft.yml +++ b/.github/workflows/manual_draft.yml @@ -79,11 +79,10 @@ jobs: .venv\Scripts\Activate.ps1 pytest ${{ env.PYTEST_ARGUMENTS }} -m solvers - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: - token: ${{ secrets.CODECOV_TOKEN }} name: codecov-system-solvers-tests-windows - file: ./coverage.xml + files: ./coverage.xml flags: system,solvers,windows - name: Upload pytest test results @@ -131,11 +130,10 @@ jobs: source .venv/bin/activate pytest ${{ env.PYTEST_ARGUMENTS }} -m solvers - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: - token: ${{ secrets.CODECOV_TOKEN }} name: codecov-system-solvers-tests-linux - file: ./coverage.xml + files: ./coverage.xml flags: system,solver,linux - name: Upload pytest test results @@ -191,11 +189,10 @@ jobs: .venv\Scripts\Activate.ps1 pytest ${{ env.PYTEST_ARGUMENTS }} -n 4 --dist loadfile -m general - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: - token: ${{ secrets.CODECOV_TOKEN }} name: codecov-system-general-tests-windows - file: ./coverage.xml + files: ./coverage.xml flags: system,general,windows - name: Upload pytest test results @@ -255,11 +252,10 @@ jobs: source .venv/bin/activate pytest ${{ env.PYTEST_ARGUMENTS }} -n 4 --dist loadfile -m general - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: - token: ${{ secrets.CODECOV_TOKEN }} name: codecov-system-general-tests - file: ./coverage.xml + files: ./coverage.xml flags: system,solver,linux - name: Upload pytest test results diff --git a/.github/workflows/unit_test_prerelease.yml b/.github/workflows/unit_test_prerelease.yml index 90c85dfef62..118b35d79c6 100644 --- a/.github/workflows/unit_test_prerelease.yml +++ b/.github/workflows/unit_test_prerelease.yml @@ -73,7 +73,7 @@ jobs: Set-Item -Path env:PYTHONMALLOC -Value "malloc" pytest --tx 6*popen --durations=50 --dist loadfile -v --cov=ansys.aedt.core --cov-report=xml --junitxml=junit/test-results.xml --cov-report=html tests - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} if: matrix.python-version == '3.8'