Skip to content

Commit 3668b43

Browse files
committed
Fix upload of tests results
1 parent 663e3de commit 3668b43

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/integration.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,15 @@ jobs:
8585
sleep 10 # time to settle
8686
invoke ${{matrix.test-type}}-tests
8787
88-
- uses: actions/upload-artifact@v4
89-
if: success() || failure()
88+
- name: Upload test results and profiling data
89+
uses: actions/upload-artifact@v4
9090
with:
9191
name: pytest-results-${{matrix.test-type}}-${{matrix.connection-type}}-${{matrix.python-version}}
92-
path: '${{matrix.test-type}}*results.xml'
92+
path: |
93+
'${{matrix.test-type}}*-results.xml'
94+
'${{matrix.test-type}}-profile.out'
95+
if-no-files-found: error
96+
retention-days: 10
9397

9498
- name: Upload codecov coverage
9599
uses: codecov/codecov-action@v4
@@ -149,6 +153,8 @@ jobs:
149153
path: |
150154
'${{matrix.test-type}}*-results.xml'
151155
'${{matrix.test-type}}-profile.out'
156+
if-no-files-found: error
157+
retention-days: 10
152158

153159
- name: Upload codecov coverage
154160
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)