File tree Expand file tree Collapse file tree 2 files changed +13
-10
lines changed
Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 1616
1717env :
1818 GO_VERSION : 1.19.5
19- GOTESTLIST_VERSION : v0.2.0
19+ GOTESTLIST_VERSION : v0.3.1
2020 TESTSTAT_VERSION : v0.1.3
2121 WINDOWS_BASE_IMAGE : mcr.microsoft.com/windows/servercore
2222 WINDOWS_BASE_TAG_2019 : ltsc2019
@@ -228,10 +228,11 @@ jobs:
228228 id : tests
229229 working-directory : ./integration-cli
230230 run : |
231- # Distribute integration-cli tests for the matrix in integration-test job.
232- # Also prepend ./... to the matrix. This is a special case to run "Test integration" step exclusively.
233- matrix="$(gotestlist -d ${{ env.ITG_CLI_MATRIX_SIZE }} ./...)"
234- matrix="$(echo "$matrix" | jq -c '. |= ["./..."] + .')"
231+ # This step creates a matrix for integration-cli tests. Tests suites
232+ # are distributed in integration-test job through a matrix. There is
233+ # also an override being added to the matrix like "./..." to run
234+ # "Test integration" step exclusively.
235+ matrix="$(gotestlist -d ${{ env.ITG_CLI_MATRIX_SIZE }} -o "./..." ./...)"
235236 echo "matrix=$matrix" >> $GITHUB_OUTPUT
236237 -
237238 name : Show matrix
Original file line number Diff line number Diff line change 1616
1717env :
1818 GO_VERSION : 1.19.5
19- GOTESTLIST_VERSION : v0.2.0
19+ GOTESTLIST_VERSION : v0.3.1
2020 TESTSTAT_VERSION : v0.1.3
2121 ITG_CLI_MATRIX_SIZE : 6
2222 DOCKER_EXPERIMENTAL : 1
@@ -401,10 +401,12 @@ jobs:
401401 id : tests
402402 working-directory : ./integration-cli
403403 run : |
404- # Distribute integration-cli tests for the matrix in integration-test job.
405- # Also prepend ./... to the matrix. This is a special case to run "Test integration" step exclusively.
406- matrix="$(gotestlist -d ${{ env.ITG_CLI_MATRIX_SIZE }} ./...)"
407- matrix="$(echo "$matrix" | jq -c '. |= ["./..."] + .')"
404+ # This step creates a matrix for integration-cli tests. Tests suites
405+ # are distributed in integration-cli job through a matrix. There is
406+ # also overrides being added to the matrix like "./..." to run
407+ # "Test integration" step exclusively and specific tests suites that
408+ # take a long time to run.
409+ matrix="$(gotestlist -d ${{ env.ITG_CLI_MATRIX_SIZE }} -o "./..." -o "DockerSwarmSuite" -o "DockerNetworkSuite|DockerExternalVolumeSuite" ./...)"
408410 echo "matrix=$matrix" >> $GITHUB_OUTPUT
409411 -
410412 name : Show matrix
You can’t perform that action at this time.
0 commit comments