mirror of https://github.com/nextcloud/contacts
chore(CI): add summary step
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
This commit is contained in:
parent
a88d451e21
commit
6fb5f850a2
|
@ -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
|
Loading…
Reference in New Issue