forked from open-cluster-management-io/addon-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (34 loc) · 932 Bytes
/
Copy pathpre.yml
File metadata and controls
39 lines (34 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: pre
on:
pull_request:
workflow_dispatch:
concurrency:
group: pre-${{ github.ref }}
cancel-in-progress: true
jobs:
generate-matrix:
uses: ./.github/workflows/generate-matrix.yaml
secrets: inherit
call-test:
name: test
needs: generate-matrix
if: needs.generate-matrix.outputs.matrix != ''
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
uses: ./.github/workflows/test.yml
with:
repo: ${{ matrix.repo }}
secrets: inherit
call-e2e:
name: e2e
needs: generate-matrix
if: needs.generate-matrix.outputs.matrix != ''
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
uses: ./.github/workflows/e2e.yml
with:
repo: ${{ matrix.repo }}
artifacts: ${{ fromJson(needs.generate-matrix.outputs.artifacts)[matrix.repo] }}
secrets: inherit