Skip to content

Commit b42fded

Browse files
authored
Update CI to use upload-artifact and download-artifact v4
See https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
1 parent 77a8562 commit b42fded

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
- name: Test with tox
3737
run: python -m tox
3838
- name: Store partial coverage reports
39-
uses: actions/upload-artifact@v2
39+
uses: actions/upload-artifact@v4
4040
with:
41-
name: coverage
41+
name: coverage-${{ matrix.runs-on }}
4242
path: .coverage.*
4343

4444
coveralls:
@@ -54,9 +54,10 @@ jobs:
5454
- name: Install coverage package
5555
run: python -m pip install -U coverage
5656
- name: Download partial coverage reports
57-
uses: actions/download-artifact@v2
57+
uses: actions/download-artifact@v4
5858
with:
59-
name: coverage
59+
pattern: coverage-*
60+
merge-multiple: true
6061
- name: Combine coverage
6162
run: python -m coverage combine
6263
- name: Report coverage

0 commit comments

Comments
 (0)