Skip to content

Commit 18d2510

Browse files
committed
refactor
1 parent 3aa946c commit 18d2510

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

.github/workflows/framework-golden-tests.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff 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
@@ -64,6 +70,6 @@ jobs:
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 }}

0 commit comments

Comments
 (0)