Skip to content

Commit aa46a28

Browse files
PProfiziBClappe
andauthored
Bump to codecov/codecov-action@v4 (#1790)
* Bump to codecov/codecov-action@v4 Signed-off-by: paul.profizi <[email protected]> * Fix inputs to codecov/codecov-action@v4 Signed-off-by: paul.profizi <[email protected]> * Update .github/workflows/tests.yml Co-authored-by: BrunoClappe-Ansys <[email protected]> --------- Signed-off-by: paul.profizi <[email protected]> Co-authored-by: BrunoClappe-Ansys <[email protected]>
1 parent 0f5fe3d commit aa46a28

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/test_docker.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,8 @@ jobs:
221221
timeout-minutes: 5
222222

223223
- name: "Upload coverage to Codecov"
224-
uses: codecov/codecov-action@v3
224+
uses: codecov/codecov-action@v4
225+
with:
226+
token: ${{ secrets.CODECOV_TOKEN }} # required
227+
name: ${{ env.PACKAGE_NAME }}_${{ matrix.python-version }}_${{ matrix.os }}_pytest_${{ inputs.ANSYS_VERSION }}_docker.xml
228+
flags: docker,${{ inputs.ANSYS_VERSION }},${{ matrix.os }},${{ matrix.python-version }}

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,4 +367,8 @@ jobs:
367367
path: tests/junit/test-results.xml
368368

369369
- name: "Upload coverage to Codecov"
370-
uses: codecov/codecov-action@v3
370+
uses: codecov/codecov-action@v4
371+
with:
372+
token: ${{ secrets.CODECOV_TOKEN }} # required
373+
name: ${{ env.PACKAGE_NAME }}_${{ matrix.python-version }}_${{ matrix.os }}_pytest_${{ inputs.ANSYS_VERSION }}${{ inputs.test_any == 'true' && '_any' || '' }}.xml
374+
flags: ${{ inputs.ANSYS_VERSION }},${{ matrix.os }},${{ matrix.python-version }}${{ inputs.test_any == 'true' && ',any' || '' }}

0 commit comments

Comments
 (0)