Skip to content

Commit 8742d6b

Browse files
authored
Merge pull request #7 from a16z/fix/run-ci-on-push
Run ci on push/PR
2 parents 5cc3cb8 + e17615d commit 8742d6b

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: test
22

3-
on: workflow_dispatch
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
48

59
env:
610
FOUNDRY_PROFILE: ci
@@ -37,9 +41,14 @@ jobs:
3741
uses: actions/setup-python@v4
3842
with:
3943
python-version: "3.11"
44+
45+
- name: Install dependencies
46+
run: pip install argparse eth_abi halmos
4047

41-
- name: Install Halmos
42-
run: pip install halmos
48+
- name: Run Python reference tests
49+
run: |
50+
forge test -vvv --ffi --match-test testRef
51+
id: test-ref
4352

4453
- name: Run Halmos
4554
run: halmos --function testProve --loop 256 --error-unknown --test-parallel --solver-parallel --solver-timeout-assertion 0

0 commit comments

Comments
 (0)