File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed
Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,19 @@ jobs:
1919 contents : read
2020 strategy :
2121 matrix :
22- config-test :
23- - config-file : smoke.toml
24- test-name : TestSmoke
25- - config-file : load.toml
26- test-name : TestLoad
27- - config-file : chaos.toml
28- test-name : TestChaos
22+ test :
23+ - name : TestSmoke
24+ config : smoke.toml
25+ count : 1
26+ timeout : 10m
27+ - name : TestLoad
28+ config : load.toml
29+ count : 1
30+ timeout : 10m
31+ - name : TestChaos
32+ config : chaos.toml
33+ count : 1
34+ timeout : 10m
2935 steps :
3036 - name : Checkout repo
3137 uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
6470 - name : Run Docker Component Tests
6571 if : steps.changes.outputs.src == 'true'
6672 env :
67- CTF_CONFIGS : ${{ matrix.config- test.config-file }}
73+ CTF_CONFIGS : ${{ matrix.test.config }}
6874 run : |
69- go test -timeout 5m -v -count 1 -run ${{ matrix.config- test.test- name }}
75+ go test -timeout ${{ matrix.test.timeout }} -v -count ${{ matrix.test.count }} -run ${{ matrix.test.name }}
You can’t perform that action at this time.
0 commit comments