Browse Source

test matrix

Hadrien Croubois 3 years ago
parent
commit
94f9f7ac58
2 changed files with 8 additions and 5 deletions
  1. 7 4
      .github/workflows/formal-verifiation.yml
  2. 1 1
      certora/matrix.json

+ 7 - 4
.github/workflows/formal-verifiation.yml

@@ -37,17 +37,20 @@ jobs:
       #     wget https://github.com/ethereum/solidity/releases/download/v0.8.17/solc-static-linux
       #     wget https://github.com/ethereum/solidity/releases/download/v0.8.17/solc-static-linux
       #     sudo mv solc-static-linux /usr/local/bin/solc
       #     sudo mv solc-static-linux /usr/local/bin/solc
       #     chmod +x /usr/local/bin/solc
       #     chmod +x /usr/local/bin/solc
-      - name: Verify rule ${{ matrix.script }}
+      - name: Verify rule ${{ matrix.params }}
+        if: matrix.params.disabled != true
         run: |
         run: |
-          echo ${{ matrix.script }}
+          echo ${{ matrix.params.file }}
+          echo ${{ matrix.params.name }}
+          echo ${{ matrix.params.spec }}
         # touch certora/applyHarness.patch
         # touch certora/applyHarness.patch
         # make -C certora munged
         # make -C certora munged
         # echo "key length" ${#CERTORAKEY}
         # echo "key length" ${#CERTORAKEY}
-        # sh ${{ matrix.script }}
+        # sh ${{ matrix.params }}
         env:
         env:
           CERTORAKEY: ${{ secrets.CERTORAKEY }}
           CERTORAKEY: ${{ secrets.CERTORAKEY }}
     strategy:
     strategy:
       fail-fast: false
       fail-fast: false
       max-parallel: 4
       max-parallel: 4
       matrix:
       matrix:
-        script: ${{ fromJson(needs.list-scripts.outputs.matrix) }}
+        params: ${{ fromJson(needs.list-scripts.outputs.matrix) }}

+ 1 - 1
certora/matrix.json

@@ -23,7 +23,7 @@
     "name": "GovernorPreventLateQuorumHarness",
     "name": "GovernorPreventLateQuorumHarness",
     "spec": "certora/specs/GovernorPreventLateQuorum.spec"
     "spec": "certora/specs/GovernorPreventLateQuorum.spec"
 },{
 },{
-    "disable": true,
+    "disabled": true,
     "file": "certora/harnesses/InitializableComplexHarness.sol",
     "file": "certora/harnesses/InitializableComplexHarness.sol",
     "name": "InitializableComplexHarness",
     "name": "InitializableComplexHarness",
     "spec": "certora/specs/Initializable.spec"
     "spec": "certora/specs/Initializable.spec"