Skip to content

Commit 05abc4e

Browse files
authored
Upload composer.lock if PHPUnit tests fail
Add step to upload composer.lock on test failure
1 parent 15282ee commit 05abc4e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/phpunit.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ jobs:
7171
- name: Execute tests (Unit and Feature tests) via PHPUnit 🧪
7272
run: vendor/bin/phpunit --no-coverage --disable-coverage-ignore --order-by=random
7373

74+
- name: Upload composer.lock for failed test run
75+
uses: actions/upload-artifact@v6
76+
if: failure()
77+
with:
78+
name: composer.lock
79+
path: composer.lock
80+
7481
dusk:
7582
runs-on: ubuntu-latest
7683

0 commit comments

Comments
 (0)