-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (36 loc) · 1.06 KB
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
on:
pull_request_review:
types: [submitted]
pull_request:
branches:
- main
workflow_dispatch:
jobs:
Regression:
if: |
(
(github.event_name == 'pull_request_review' && github.event.review.state == 'approved') ||
github.event.pull_request.user.login == 'nivcertora' ||
github.event.pull_request.user.login == 'liav-certora'
) &&
github.event.pull_request.base.ref == 'main'
env:
ETHSCAN_API_KEY: ${{ secrets.ETHSCAN_API_KEY }}
QUORUM_PATH: "."
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
runs-on: ubuntu-latest
container:
image: public.ecr.aws/certora/cvt-image:2024.10.23-4499-c4f8ad4
permissions:
id-token: write
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Quorum Repo
run: pip3.11 install .
- name: Execute Regression Tests
run: |
pytest Quorum/tests --maxfail=1 --disable-warnings --tb=short
CheckProposal --config Quorum/execution.json