difftreelog
create execution-matrix job for try-runtime workflows
in: master
1 file changed
.github/workflows/try-runtime.ymldiffbeforeafterboth778# A workflow run is made up of one or more jobs that can run sequentially or in parallel8# A workflow run is made up of one or more jobs that can run sequentially or in parallel9jobs:9jobs:10 prepare-execution-marix:1112 name: Prepare execution matrix1314 runs-on: self-hosted-ci15 outputs:16 matrix: ${{ steps.create_matrix.outputs.matrix }}1718 steps:1920 - name: Clean Workspace21 uses: AutoModality/action-clean@v1.1.02223 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it24 - uses: actions/checkout@v325 with:26 ref: ${{ github.head_ref }} #Checking out head commit2728 - name: Read .env file29 uses: xom9ikk/dotenv@v23031 - name: Create Execution matrix32 uses: CertainLach/create-matrix-action@v333 id: create_matrix34 with:35 matrix: |36 network {opal}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}37 network {quartz}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}38 network {unique}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}3910 try-runtime:40 try-runtime:41 needs: prepare-execution-marix4211 # The type of runner that the job will run on43 # The type of runner that the job will run on12 runs-on: self-hosted-ci44 runs-on: [self-hosted-ci]13 14 name: ${{ matrix.network }}-try-runtime1516 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.45 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.174647 name: ${{ matrix.network }}-try-runtime18 strategy:48 strategy:19 matrix:49 matrix:20 include:50 include: ${{fromJson(needs.execution-marix.outputs.matrix)}}21 - network: opal51 22 replica_from_address: wss://eu-ws-opal.unique.network:44323 - network: quartz24 replica_from_address: wss://eu-ws-quartz.unique.network:44325 - network: unique26 replica_from_address: wss://eu-ws.unique.network:4432728 steps:52 steps:2953