diff options
author | Hamza <40746210+hamza221@users.noreply.github.com> | 2024-04-18 14:23:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 14:23:34 +0200 |
commit | c6ded6df5aa7db7d3757f92a9acdb8fc2ac499c7 (patch) | |
tree | 16d288a63f458413bffa1de775a2bed9a62e9528 | |
parent | c79e19a1728776c0a6e3331e692f1fb4438d33a0 (diff) | |
parent | 81f371c171edf86f490536aec343344c46e74b75 (diff) |
Merge pull request #3890 from nextcloud/backport/3879/stable6.0stable6.0
[stable6.0] 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 ce6c0bed..312b60de 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -215,3 +215,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 |