Skip to content

Commit

Permalink
BUILD: bump codecov/codecov-action from 4 to 5 (#5475)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sébastien Morais <146729917+SMoraisAnsys@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and SMoraisAnsys authored Dec 11, 2024
1 parent d9b6f5f commit f0c5a83
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 31 deletions.
30 changes: 12 additions & 18 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
20 changes: 8 additions & 12 deletions .github/workflows/manual_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_test_prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit f0c5a83

Please sign in to comment.