Skip to content

Commit f86c00a

Browse files
Update upload and download artifact actions
1 parent 8309e14 commit f86c00a

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,15 @@ jobs:
112112
113113
- name: Upload coverage data
114114
if: always() && matrix.session == 'tests'
115-
uses: "actions/upload-artifact@v3"
115+
uses: actions/upload-artifact@v4
116116
with:
117-
name: coverage-data
117+
name: coverage-data-${{ matrix.os }}-${{ matrix.python }}
118+
include-hidden-files: true
118119
path: ".coverage.*"
119120

120121
- name: Upload documentation
121122
if: matrix.session == 'docs-build'
122-
uses: actions/upload-artifact@v3
123+
uses: actions/upload-artifact@v4
123124
with:
124125
name: docs
125126
path: docs/_build
@@ -153,9 +154,11 @@ jobs:
153154
nox --version
154155
155156
- name: Download coverage data
156-
uses: actions/download-artifact@v3
157+
uses: actions/download-artifact@v4
157158
with:
158159
name: coverage-data
160+
pattern: coverage-data-*
161+
merge-multiple: true
159162

160163
- name: Combine coverage data and display human readable report
161164
run: |
@@ -166,6 +169,6 @@ jobs:
166169
nox --session=coverage -- xml -i
167170
168171
- name: Upload coverage report
169-
uses: codecov/codecov-action@v4.5.0
172+
uses: codecov/codecov-action@v4
170173
with:
171174
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)