Skip to content

Commit ba098b0

Browse files
authored
chore: upload as artifacts the debug files of failing random execution tests (#10074)
1 parent 02a3a79 commit ba098b0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test-random-execution.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,3 +223,12 @@ jobs:
223223
env:
224224
DB: ${{ matrix.db-platform }}
225225
TERM: xterm-256color
226+
227+
- name: Upload random-test artifacts on failure
228+
if: ${{ always() && failure() }}
229+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
230+
with:
231+
name: random-tests-${{ matrix.db-platform }}-php${{ matrix.php-version }}
232+
path: build/random-tests/
233+
retention-days: 1
234+
overwrite: true

0 commit comments

Comments
 (0)