Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUILD: bump codecov/codecov-action from 4 to 5 #5475

Merged
merged 7 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading