File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,27 @@ jobs:
3232 name : " HTTP/2 spec tests"
3333 matrix_linux_command : " apt-get update -y -q && apt-get install -y -q wget lsof && mkdir $HOME/.tools && wget -q https://github.com/summerwind/h2spec/releases/download/v2.2.1/h2spec_linux_amd64.tar.gz -O $HOME/.tools/h2spec.tar.gz && tar xzf $HOME/.tools/h2spec.tar.gz --directory $HOME/.tools && PATH=${PATH}:$HOME/.tools && ./scripts/test_h2spec.sh"
3434
35+ construct-integration-tests-matrix :
36+ name : Construct Examples matrix
37+ runs-on : ubuntu-latest
38+ outputs :
39+ integration-tests-matrix : ' ${{ steps.generate-matrix.outputs.integration-tests-matrix }}'
40+ steps :
41+ - name : Checkout repository
42+ uses : actions/checkout@v4
43+ with :
44+ persist-credentials : false
45+ - id : generate-matrix
46+ run : echo "integration-tests-matrix=$(curl -s https://raw.githubusercontent.com/apple/swift-nio/main/scripts/generate_matrix.sh | bash)" >> "$GITHUB_OUTPUT"
47+ env :
48+ MATRIX_LINUX_COMMAND : " ./scripts/integration_tests.sh"
49+ MATRIX_LINUX_SETUP_COMMAND : " apt-get update -y -q && apt-get install -y -q jq"
50+
3551 integration-tests :
3652 name : Integration Tests
37- # Workaround https://github.com/nektos/act/issues/1875
38- uses : apple/swift-nio/.github/workflows/swift_matrix .yml@main
53+ needs : construct-integration-tests-matrix
54+ uses : apple/swift-nio/.github/workflows/swift_test_matrix .yml@main
3955 with :
40- name : " Integration tests"
41- matrix_linux_command : " apt-get update -y -q && apt-get install -y -q jq && ./scripts/integration_tests.sh"
56+ name : " Examples"
57+ matrix_string : ' ${{ needs.construct-integration-tests-matrix.outputs.integration-tests-matrix }}'
58+
You can’t perform that action at this time.
0 commit comments