|
|
|
|
@ -14,7 +14,7 @@ defaults:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
|
|
generate-jobs:
|
|
|
|
|
init:
|
|
|
|
|
name: Generate Jobs
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
outputs:
|
|
|
|
|
@ -31,8 +31,8 @@ jobs:
|
|
|
|
|
echo "::set-output name=strategy::$strategy"
|
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
needs: generate-jobs
|
|
|
|
|
strategy: ${{ fromJson(needs.generate-jobs.outputs.strategy) }}
|
|
|
|
|
needs: init
|
|
|
|
|
strategy: ${{ fromJson(needs.init.outputs.strategy) }}
|
|
|
|
|
name: ${{ matrix.name }}
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
steps:
|
|
|
|
|
@ -51,3 +51,15 @@ jobs:
|
|
|
|
|
run: ${{ matrix.runs.test }}
|
|
|
|
|
- name: '"docker 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
|
|
|
|
|
|