Skip to content

Commit ad5d88a

Browse files
authored
Upgrade GHA (#33)
1 parent 6569e74 commit ad5d88a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/tox.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ jobs:
9191

9292
- name: Upload coverage data
9393
if: ${{ startsWith(matrix.passed_name, 'py') }}
94-
uses: codecov/codecov-action@v3
94+
uses: codecov/codecov-action@v4
9595
with:
9696
name: ${{ matrix.passed_name }}
97-
fail_ci_if_error: false # see https://github.com/codecov/codecov-action/issues/598
9897
token: ${{ secrets.CODECOV_TOKEN }}
9998
verbose: true # optional (default = false)
99+
fail_ci_if_error: true
100100

101101
- name: Archive logs
102102
uses: actions/upload-artifact@v4
@@ -125,6 +125,17 @@ jobs:
125125
runs-on: ubuntu-latest
126126

127127
steps:
128+
- name: Merge logs into a single archive
129+
uses: actions/upload-artifact/merge@v4
130+
with:
131+
name: logs.zip
132+
pattern: logs*.zip
133+
delete-merged: true
134+
135+
- name: Check codecov.io status
136+
if: github.event_name == 'pull_request'
137+
uses: coactions/codecov-status@main
138+
128139
- name: Decide whether the needed jobs succeeded or failed
129140
uses: re-actors/alls-green@release/v1
130141
with:

0 commit comments

Comments
 (0)