@@ -41,19 +41,19 @@ jobs:
4141 test_pattern : ${{ inputs.test_pattern }}
4242
4343 zombienet-polkadot-tests :
44- name : ${{ matrix.job-name }}
45- runs-on : ${{ matrix.runner-type == 'large' && (matrix.use-zombienet-sdk && needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER || needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER) || (matrix.use-zombienet-sdk && needs.preflight.outputs.ZOMBIENET_SDK_DEFAULT_RUNNER || needs.preflight.outputs.ZOMBIENET_DEFAULT_RUNNER) }}
44+ name : ${{ matrix.test. job-name }}
45+ runs-on : ${{ matrix.test. runner-type == 'large' && (matrix.test. use-zombienet-sdk && needs.preflight.outputs.ZOMBIENET_SDK_LARGE_RUNNER || needs.preflight.outputs.ZOMBIENET_LARGE_RUNNER) || (matrix.test .use-zombienet-sdk && needs.preflight.outputs.ZOMBIENET_SDK_DEFAULT_RUNNER || needs.preflight.outputs.ZOMBIENET_DEFAULT_RUNNER) }}
4646 timeout-minutes : 60
4747 needs : [preflight]
4848 if : ${{ (needs.preflight.outputs.changes_substrate || needs.preflight.outputs.changes_polkadot) }}
4949 container :
50- image : ${{ matrix.use-zombienet-sdk && needs.preflight.outputs.ZOMBIENET_SDK_IMAGE || needs.preflight.outputs.ZOMBIENET_IMAGE }}
50+ image : ${{ matrix.test. use-zombienet-sdk && needs.preflight.outputs.ZOMBIENET_SDK_IMAGE || needs.preflight.outputs.ZOMBIENET_IMAGE }}
5151 options : -v /tmp/zombienet:/tmp/zombienet
5252 env :
5353 ZOMBIENET_INTEGRATION_TEST_IMAGE : " ${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}"
5454 POLKADOT_IMAGE : " ${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/polkadot-debug:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}"
5555 COL_IMAGE : " ${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/colander:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}"
56- CUMULUS_IMAGE : " ${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/${{ matrix.cumulus-image || 'polkadot-parachain-debug' }}:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}"
56+ CUMULUS_IMAGE : " ${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/${{ matrix.test. cumulus-image || 'polkadot-parachain-debug' }}:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}"
5757 MALUS_IMAGE : " ${{ needs.preflight.outputs.TEMP_IMAGES_BASE }}/malus:${{ needs.preflight.outputs.DOCKER_IMAGES_VERSION }}"
5858 DEBUG : ${{ needs.preflight.outputs.DEBUG }}
5959 ZOMBIENET_PROVIDER : ${{ needs.preflight.outputs.ZOMBIENET_PROVIDER }}
@@ -62,41 +62,41 @@ jobs:
6262 strategy :
6363 fail-fast : false
6464 matrix :
65- tests : ${{ fromJson(needs.preflight.outputs.TEST_MATRIX) }}
65+ test : ${{ fromJson(needs.preflight.outputs.TEST_MATRIX) }}
6666
6767 steps :
6868 - name : Checkout
6969 uses : actions/checkout@v4
7070
7171 - name : Set additional environment variables
72- if : ${{ matrix.additional-env }}
72+ if : ${{ matrix.test. additional-env }}
7373 shell : bash
7474 run : |
75- echo '${{ toJson(matrix.additional-env) }}' | jq -r 'to_entries[] | "\(.key)=\(.value)"' >> $GITHUB_ENV
75+ echo '${{ toJson(matrix.test. additional-env) }}' | jq -r 'to_entries[] | "\(.key)=\(.value)"' >> $GITHUB_ENV
7676
7777 - name : Additional setup
78- if : ${{ matrix.additional-setup }}
78+ if : ${{ matrix.test. additional-setup }}
7979 shell : bash
80- run : ${{ matrix.additional-setup }}
80+ run : ${{ matrix.test. additional-setup }}
8181
8282 - name : zombienet_test (traditional)
83- if : ${{ !matrix.use-zombienet-sdk }}
83+ if : ${{ !matrix.test. use-zombienet-sdk }}
8484 uses : ./.github/actions/zombienet
8585 with :
86- test-definition : ${{ matrix.test-definition }}
87- job-name : ${{ matrix.job-name }}
88- local-dir : ${{ matrix.local-dir }}
89- concurrency : ${{ matrix.concurrency || 1 }}
86+ test-definition : ${{ matrix.test.test -definition }}
87+ job-name : ${{ matrix.test. job-name }}
88+ local-dir : ${{ matrix.test. local-dir }}
89+ concurrency : ${{ matrix.test. concurrency || 1 }}
9090 gh-token : ${{ secrets.GITHUB_TOKEN }}
9191 build-id : ${{ needs.preflight.outputs.BUILD_RUN_ID }}
9292 ref-slug : ${{ needs.preflight.outputs.SOURCE_REF_SLUG }}
9393
9494 - name : zombienet_test (sdk)
95- if : ${{ matrix.use-zombienet-sdk }}
95+ if : ${{ matrix.test. use-zombienet-sdk }}
9696 uses : ./.github/actions/zombienet-sdk
9797 with :
98- test-filter : ${{ matrix.test-filter }}
99- job-name : ${{ matrix.job-name }}
98+ test-filter : ${{ matrix.test.test -filter }}
99+ job-name : ${{ matrix.test. job-name }}
100100 prefix : " polkadot"
101101 gh-token : ${{ secrets.GITHUB_TOKEN }}
102102 build-id : ${{ needs.preflight.outputs.BUILD_RUN_ID }}
0 commit comments