File tree Expand file tree Collapse file tree 2 files changed +20
-5
lines changed
IntegrationTests/tests_01_allocation_counters/Thresholds Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,26 @@ jobs:
32
32
name : " HTTP/2 spec tests"
33
33
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"
34
34
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
+
35
51
integration-tests :
36
52
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
39
55
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 }} '
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments