Skip to content

Commit ecbe4de

Browse files
Update upload and download artifact actions
1 parent 5674681 commit ecbe4de

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,15 @@ jobs:
108108
109109
- name: Upload coverage data
110110
if: always() && matrix.session == 'tests'
111-
uses: "actions/upload-artifact@v3"
111+
uses: actions/upload-artifact@v4
112112
with:
113-
name: coverage-data
113+
name: coverage-data-${{ matrix.os }}-${{ matrix.python }}
114+
include-hidden-files: true
114115
path: ".coverage.*"
115116

116117
- name: Upload documentation
117118
if: matrix.session == 'docs-build'
118-
uses: actions/upload-artifact@v3
119+
uses: actions/upload-artifact@v4
119120
with:
120121
name: docs
121122
path: docs/_build
@@ -149,9 +150,10 @@ jobs:
149150
nox --version
150151
151152
- name: Download coverage data
152-
uses: actions/download-artifact@v3
153+
uses: actions/download-artifact@v4
153154
with:
154-
name: coverage-data
155+
pattern: coverage-data-*
156+
merge-multiple: true
155157

156158
- name: Combine coverage data and display human readable report
157159
run: |
@@ -162,6 +164,6 @@ jobs:
162164
nox --session=coverage -- xml -i
163165
164166
- name: Upload coverage report
165-
uses: codecov/codecov-action@v4.5.0
167+
uses: codecov/codecov-action@v4
166168
with:
167169
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)