Skip to content

Commit e3e40ba

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

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ jobs:
8282
8383
setup:
8484
needs: generate_ref
85+
strategy:
86+
matrix:
87+
ci_workflow:
88+
- blktests_block
89+
- blktests_nvme
90+
- blktests_scsi
8591
uses: ./.github/workflows/setup.yml
8692
with:
8793
kernel_ref: ${{ needs.generate_ref.outputs.kernel_ref || 'master' }}
@@ -92,18 +98,36 @@ jobs:
9298
run-tests:
9399
needs: setup
94100
uses: ./.github/workflows/tests.yml
101+
strategy:
102+
matrix:
103+
ci_workflow:
104+
- blktests_block
105+
- blktests_nvme
106+
- blktests_scsi
95107
with:
96108
ci_workflow: ${{ inputs.ci_workflow || github.ref_name }}
97109
secrets: inherit
98110

99111
archive:
100112
needs: run-tests
101113
uses: ./.github/workflows/archive.yml
114+
strategy:
115+
matrix:
116+
ci_workflow:
117+
- blktests_block
118+
- blktests_nvme
119+
- blktests_scsi
102120
with:
103121
ci_workflow: ${{ inputs.ci_workflow || github.ref_name }}
104122
secrets: inherit
105123

106124
cleanup:
107125
needs: [setup, run-tests, archive]
108126
uses: ./.github/workflows/cleanup.yml
127+
strategy:
128+
matrix:
129+
ci_workflow:
130+
- blktests_block
131+
- blktests_nvme
132+
- blktests_scsi
109133
secrets: inherit

0 commit comments

Comments
 (0)