mirror of
https://github.com/nextcloud/docker.git
synced 2025-01-23 14:13:54 +01:00
Merge pull request #1730 from nextcloud/add/summary-mandatory-step
This commit is contained in:
commit
1bd3a50196
1 changed files with 15 additions and 3 deletions
18
.github/workflows/images.yml
vendored
18
.github/workflows/images.yml
vendored
|
@ -14,7 +14,7 @@ defaults:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
generate-jobs:
|
init:
|
||||||
name: Generate Jobs
|
name: Generate Jobs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
|
@ -31,8 +31,8 @@ jobs:
|
||||||
echo "::set-output name=strategy::$strategy"
|
echo "::set-output name=strategy::$strategy"
|
||||||
|
|
||||||
test:
|
test:
|
||||||
needs: generate-jobs
|
needs: init
|
||||||
strategy: ${{ fromJson(needs.generate-jobs.outputs.strategy) }}
|
strategy: ${{ fromJson(needs.init.outputs.strategy) }}
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -51,3 +51,15 @@ jobs:
|
||||||
run: ${{ matrix.runs.test }}
|
run: ${{ matrix.runs.test }}
|
||||||
- name: '"docker images"'
|
- name: '"docker images"'
|
||||||
run: ${{ matrix.runs.images }}
|
run: ${{ matrix.runs.images }}
|
||||||
|
|
||||||
|
summary:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: test
|
||||||
|
|
||||||
|
if: always()
|
||||||
|
|
||||||
|
name: images-test-summary
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Summary status
|
||||||
|
run: if ${{ needs.test.result != 'success' && needs.test.result != 'skipped' }}; then exit 1; fi
|
||||||
|
|
Loading…
Reference in a new issue