File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 66 proofs :
77 description : Start Symbols for proofs to run
88 required : true
9- type : string # TODO how to use an array?
10- default : " test_ptoken_domain_data"
9+ type : string
10+ default : " [' test_ptoken_domain_data', 'this_will_fail'] "
1111 kmir :
1212 description : KMIR to work with (must exist as a docker image tag, optional)
1313 required : false
@@ -55,15 +55,25 @@ jobs:
5555 if-no-files-found : error
5656 retention-days : 1 # only important during workflow run
5757
58- run :
58+ prepare_matrix :
59+ name : " Prepare proof matrix"
60+ runs-on : ubuntu-latest
61+ outputs :
62+ proofs : ${{ steps.split.outputs.matrix }}
63+ steps :
64+ - name : " Create Proof Array"
65+ run : |
66+ echo "matrix=${{ inputs.proofs }}" >> $GITHUB_OUTPUT
67+
68+ run_proof :
5969 name : " Link SMIR and Run Proofs"
60- needs : compile
70+ needs : compile, prepare_matrix
6171 runs-on : ubuntu-latest
6272 # container:
6373 # image: runtimeverificationinc/kmir:${{ inputs.kmir }}
6474 strategy :
6575 matrix :
66- proof : ${{ inputs. proofs }}
76+ proof : ${{ fromJSON(needs.prepare_matrix.outputs. proofs) }}
6777 env :
6878 - RUNNER_NAME : " kmir-${{ github.sha }}"
6979 steps :
You can’t perform that action at this time.
0 commit comments