diff options
author | Hamza <40746210+hamza221@users.noreply.github.com> | 2024-04-09 22:44:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 22:44:31 +0200 |
commit | 8b1ffba3290c51c3efdf191705d5c8e471e8b612 (patch) | |
tree | 42cc45852721fc044fc90bba25dd249a0dcfcc81 | |
parent | a88d451e2152cfb5f71e9fe5ecec7b930e44ec87 (diff) | |
parent | 6fb5f850a20b4345254d2cd505ba933633da26c7 (diff) |
Merge pull request #3879 from nextcloud/chore-add-summary-step
chore(CI): add summary step
-rw-r--r-- | .github/workflows/phpunit.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 1b7b70f7..7a3d993f 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -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
\ No newline at end of file |