mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Dump logs on test failure
This commit is contained in:
parent
86d784bd59
commit
5c49716129
4
.github/workflows/tests-mysql.yml
vendored
4
.github/workflows/tests-mysql.yml
vendored
|
@ -77,3 +77,7 @@ jobs:
|
|||
DB_PORT: ${{ job.services.mysql.ports[3306] }}
|
||||
DB_USERNAME: root
|
||||
run: php artisan test
|
||||
|
||||
- name: Test failure
|
||||
if: ${{ failure() }}
|
||||
run: docker exec "$PROJECT_NAME-php-fpm" cat storage/logs/laravel.log
|
||||
|
|
4
.github/workflows/tests-postgres.yml
vendored
4
.github/workflows/tests-postgres.yml
vendored
|
@ -75,3 +75,7 @@ jobs:
|
|||
DB_USERNAME: snipeit
|
||||
DB_PASSWORD: password
|
||||
run: php artisan test
|
||||
|
||||
- name: Test failure
|
||||
if: ${{ failure() }}
|
||||
run: docker exec "$PROJECT_NAME-php-fpm" cat storage/logs/laravel.log
|
||||
|
|
4
.github/workflows/tests-sqlite.yml
vendored
4
.github/workflows/tests-sqlite.yml
vendored
|
@ -59,3 +59,7 @@ jobs:
|
|||
env:
|
||||
DB_CONNECTION: sqlite_testing
|
||||
run: php artisan test
|
||||
|
||||
- name: Test failure
|
||||
if: ${{ failure() }}
|
||||
run: docker exec "$PROJECT_NAME-php-fpm" cat storage/logs/laravel.log
|
||||
|
|
Loading…
Reference in a new issue