Skip to content

Commit 915045f

Browse files
authored
Merge pull request #696 from safe-global/mmv08-patch-1
Update certora.yml to pin the cli version
2 parents ba5324e + bbd9918 commit 915045f

File tree

2 files changed

+18
-20
lines changed

2 files changed

+18
-20
lines changed

.github/workflows/certora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with: { java-version: "17", java-package: jre, distribution: semeru }
3030

3131
- name: Install certora cli
32-
run: pip install -Iv certora-cli
32+
run: pip install -Iv certora-cli==4.13.1
3333

3434
- name: Install solc
3535
run: |

.github/workflows/ci.yml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,11 @@ jobs:
2929
- run: npm run lint:ts
3030

3131
tests:
32-
runs-on: ubuntu-latest
33-
steps:
34-
- uses: actions/checkout@v2
35-
- uses: actions/setup-node@v2
36-
with:
37-
node-version: ${{ env.NODE_VERSION }}
38-
cache: "npm"
39-
- run: npm ci
40-
- run: npm run build
41-
- run: SAFE_CONTRACT_UNDER_TEST=SafeL2 npm run coverage
42-
- name: Coveralls
43-
uses: coverallsapp/github-action@master
44-
with:
45-
github-token: ${{ secrets.GITHUB_TOKEN }}
46-
47-
tests-other:
4832
runs-on: ubuntu-latest
4933
strategy:
5034
fail-fast: false
5135
matrix:
52-
contract-name: ["SafeL2"]
36+
contract-name: ["Safe", "SafeL2"]
5337
env:
5438
SAFE_CONTRACT_UNDER_TEST: ${{ matrix.contract-name }}
5539
steps:
@@ -61,10 +45,24 @@ jobs:
6145
- run: npm ci
6246
- run: npm run build
6347
- run: npm run coverage
64-
- name: Coveralls
65-
uses: coverallsapp/github-action@master
48+
- name: Send coverage to Coveralls (parallel)
49+
uses: coverallsapp/github-action@v2
6650
with:
51+
parallel: true
52+
flag-name: run-$
6753
github-token: ${{ secrets.GITHUB_TOKEN }}
54+
55+
finish:
56+
runs-on: ubuntu-latest
57+
needs: tests
58+
if: ${{ always() }}
59+
steps:
60+
- name: Coveralls Finished
61+
uses: coverallsapp/github-action@v2
62+
with:
63+
parallel-finished: true
64+
carryforward: "run-Safe,run-SafeL2"
65+
6866
benchmarks:
6967
runs-on: ubuntu-latest
7068
strategy:

0 commit comments

Comments
 (0)