File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 44concurrency :
55 group : ${{ github.workflow }}-${{ github.ref }}-framework-golden-examples
66 cancel-in-progress : true
7+
78jobs :
89 test :
910 defaults :
1011 run :
1112 working-directory : framework/examples/myproject
1213 env :
13- CTF_CONFIGS : load.toml
1414 LOKI_TENANT_ID : promtail
1515 LOKI_URL : http://localhost:3030/loki/api/v1/push
1616 runs-on : ubuntu-latest
1717 permissions :
1818 id-token : write
1919 contents : read
20+ strategy :
21+ matrix :
22+ config-file : [load.toml, chaos.toml] # Configuration files
23+ test-name : [TestLoad, TestChaos] # Corresponding test names
2024 steps :
2125 - name : Checkout repo
2226 uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
5458 run : go mod download
5559 - name : Run Docker Component Tests
5660 if : steps.changes.outputs.src == 'true'
61+ env :
62+ CTF_CONFIGS : ${{ matrix.config-file }}
5763 run : |
58- go test -timeout 5m -v -count 1 -run TestLoad
64+ go test -timeout 5m -v -count 1 -run ${{ matrix.test-name }}
You can’t perform that action at this time.
0 commit comments