chore(CI): add summary step

Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
This commit is contained in:
Hamza Mahjoubi 2024-04-09 17:29:01 +02:00
parent a88d451e21
commit 6fb5f850a2
1 changed files with 20 additions and 0 deletions

View File

@ -214,3 +214,23 @@ jobs:
# - name: PHPUnit integration
# working-directory: apps/${{ env.APP_NAME }}
# run: ./vendor/phpunit/phpunit/phpunit -c phpunit.integration.xml
summary:
runs-on: ubuntu-latest
needs:
- php
- mysql
- pgsql
if: always()
name: php-test-summary
steps:
- name : Sqlite test status
run: if ${{ needs.php.result != 'success' && needs.php.result != 'skipped' }}; then exit 1; fi
- name : Mysql test status
run: if ${{ needs.mysql.result != 'success' && needs.mysql.result != 'skipped' }}; then exit 1; fi
- name : Pgsql test status
run: if ${{ needs.pgsql.result != 'success' && needs.pgsql.result != 'skipped' }}; then exit 1; fi