Skip to content

Commit 218222d

Browse files
committed
workflows: add matrix strategy
Testing... Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
1 parent 3c0a7b3 commit 218222d

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ jobs:
8282
8383
setup:
8484
needs: generate_ref
85+
strategy:
86+
matrix:
87+
ci_workflow:
88+
- blktests_block
89+
- blktests_nvme
90+
- blktests_scsi
91+
- tmpfs_default
92+
- tmpfs_nohuge
8593
uses: ./.github/workflows/setup.yml
8694
with:
8795
kernel_ref: ${{ needs.generate_ref.outputs.kernel_ref || 'master' }}
@@ -92,18 +100,42 @@ jobs:
92100
run-tests:
93101
needs: setup
94102
uses: ./.github/workflows/tests.yml
103+
strategy:
104+
matrix:
105+
ci_workflow:
106+
- blktests_block
107+
- blktests_nvme
108+
- blktests_scsi
109+
- tmpfs_default
110+
- tmpfs_nohuge
95111
with:
96112
ci_workflow: ${{ inputs.ci_workflow || github.ref_name }}
97113
secrets: inherit
98114

99115
archive:
100116
needs: run-tests
101117
uses: ./.github/workflows/archive.yml
118+
strategy:
119+
matrix:
120+
ci_workflow:
121+
- blktests_block
122+
- blktests_nvme
123+
- blktests_scsi
124+
- tmpfs_default
125+
- tmpfs_nohuge
102126
with:
103127
ci_workflow: ${{ inputs.ci_workflow || github.ref_name }}
104128
secrets: inherit
105129

106130
cleanup:
107131
needs: [setup, run-tests, archive]
108132
uses: ./.github/workflows/cleanup.yml
133+
strategy:
134+
matrix:
135+
ci_workflow:
136+
- blktests_block
137+
- blktests_nvme
138+
- blktests_scsi
139+
- tmpfs_default
140+
- tmpfs_nohuge
109141
secrets: inherit

0 commit comments

Comments
 (0)