|
@@ -16,7 +16,7 @@ on:
|
|
|
|
|
|
env:
|
|
env:
|
|
GO_VERSION: 1.19.5
|
|
GO_VERSION: 1.19.5
|
|
- GOTESTLIST_VERSION: v0.2.0
|
|
|
|
|
|
+ GOTESTLIST_VERSION: v0.3.1
|
|
TESTSTAT_VERSION: v0.1.3
|
|
TESTSTAT_VERSION: v0.1.3
|
|
WINDOWS_BASE_IMAGE: mcr.microsoft.com/windows/servercore
|
|
WINDOWS_BASE_IMAGE: mcr.microsoft.com/windows/servercore
|
|
WINDOWS_BASE_TAG_2019: ltsc2019
|
|
WINDOWS_BASE_TAG_2019: ltsc2019
|
|
@@ -228,10 +228,11 @@ jobs:
|
|
id: tests
|
|
id: tests
|
|
working-directory: ./integration-cli
|
|
working-directory: ./integration-cli
|
|
run: |
|
|
run: |
|
|
- # Distribute integration-cli tests for the matrix in integration-test job.
|
|
|
|
- # Also prepend ./... to the matrix. This is a special case to run "Test integration" step exclusively.
|
|
|
|
- matrix="$(gotestlist -d ${{ env.ITG_CLI_MATRIX_SIZE }} ./...)"
|
|
|
|
- matrix="$(echo "$matrix" | jq -c '. |= ["./..."] + .')"
|
|
|
|
|
|
+ # This step creates a matrix for integration-cli tests. Tests suites
|
|
|
|
+ # are distributed in integration-test job through a matrix. There is
|
|
|
|
+ # also an override being added to the matrix like "./..." to run
|
|
|
|
+ # "Test integration" step exclusively.
|
|
|
|
+ matrix="$(gotestlist -d ${{ env.ITG_CLI_MATRIX_SIZE }} -o "./..." ./...)"
|
|
echo "matrix=$matrix" >> $GITHUB_OUTPUT
|
|
echo "matrix=$matrix" >> $GITHUB_OUTPUT
|
|
-
|
|
-
|
|
name: Show matrix
|
|
name: Show matrix
|