From d57cbcf82a5bad6b99765d5035fc79c7f8a57d2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Fri, 21 Jan 2022 14:36:06 +0100 Subject: Add integration summary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- .github/workflows/behat.yml | 18 +++++++++++++++--- .github/workflows/upgrade.yml | 4 +++- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/behat.yml b/.github/workflows/behat.yml index fd73351..4e77a86 100644 --- a/.github/workflows/behat.yml +++ b/.github/workflows/behat.yml @@ -1,4 +1,4 @@ -name: Integration tests +name: Integration on: pull_request: @@ -8,14 +8,14 @@ on: - production jobs: - php: + integration: runs-on: ubuntu-latest strategy: matrix: php-versions: ['7.3', '7.4', '8.0'] - name: php${{ matrix.php-versions }} + name: php steps: - uses: actions/checkout@v2 @@ -33,3 +33,15 @@ jobs: - name: Run behat run: cd tests/integration && ../../vendor/bin/behat . + + summary: + runs-on: ubuntu-latest + needs: integration + + if: always() + + name: integration-summary + + steps: + - name: Summary status + run: if ${{ needs.integration.result != 'success' && needs.integration.result != 'skipped' }}; then exit 1; fi diff --git a/.github/workflows/upgrade.yml b/.github/workflows/upgrade.yml index 26d05f6..dd401de 100644 --- a/.github/workflows/upgrade.yml +++ b/.github/workflows/upgrade.yml @@ -105,12 +105,14 @@ jobs: cd nextcloud php occ integrity:check-core - upgrades-summary: + summary: runs-on: ubuntu-latest needs: [changes, upgrades] if: always() + name: upgrades-summary + steps: - name: Summary status run: if ${{ needs.upgrades.result != 'success' && needs.upgrades.result != 'skipped' }}; then exit 1; fi -- cgit v1.2.3