From 6c084eeb9098fc337a07ddc599113999a17c5d9e Mon Sep 17 00:00:00 2001 From: Hamza Mahjoubi Date: Tue, 9 Apr 2024 17:29:01 +0200 Subject: chore(CI): add summary step Signed-off-by: Hamza Mahjoubi --- .github/workflows/phpunit.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index d35675ac..2ea73f67 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -227,3 +227,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 \ No newline at end of file -- cgit v1.2.3