@@ -145,16 +145,18 @@ jobs:
145145 run : .\scripts\run-tests.bat
146146 - if : success() || failure()
147147 name : Upload JUnit Test Results
148- uses : actions/upload-artifact@v3
148+ uses : actions/upload-artifact@v4
149149 with :
150- name : test-results
150+ name : test-results-${{ matrix.framework }}-${{ matrix.version }}-asyncio-${{ matrix.asyncio }}
151151 path : " **/*-python-agent-junit.xml"
152+ retention-days : 1
152153 - if : success() || failure()
153154 name : Upload Coverage Reports
154- uses : actions/upload-artifact@v3
155+ uses : actions/upload-artifact@v4
155156 with :
156- name : coverage-reports
157+ name : coverage-reports-${{ matrix.framework }}-${{ matrix.version }}-asyncio-${{ matrix.asyncio }}
157158 path : " **/.coverage*"
159+ retention-days : 1
158160 # This job is here to have a single status check that can be set as required.
159161 # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idneeds
160162 # If a run contains a series of jobs that need each other, a failure applies to all jobs in the dependency chain from the point of failure onwards.
@@ -197,9 +199,10 @@ jobs:
197199
198200 - run : python -Im pip install --upgrade coverage[toml]
199201
200- - uses : actions/download-artifact@v3
202+ - uses : actions/download-artifact@v4
201203 with :
202- name : coverage-reports
204+ pattern : coverage-reports-*
205+ merge-multiple : true
203206
204207 - name : Combine coverage & fail if it's <84%.
205208 run : |
@@ -217,6 +220,6 @@ jobs:
217220 with :
218221 name : html-coverage-report
219222 path : htmlcov
220- - uses : geekyeggo/delete-artifact@f275313e70c08f6120db482d7a6b98377786765b
223+ - uses : geekyeggo/delete-artifact@f275313e70c08f6120db482d7a6b98377786765b # 5.1.0
221224 with :
222- name : coverage-reports
225+ name : coverage-reports-*
0 commit comments