Skip to content

Commit

Permalink
Merge pull request #7 from a16z/fix/run-ci-on-push
Browse files Browse the repository at this point in the history
Run ci on push/PR
  • Loading branch information
moodlezoup committed Aug 1, 2023
2 parents 5cc3cb8 + e17615d commit 8742d6b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: test

on: workflow_dispatch
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
FOUNDRY_PROFILE: ci
Expand Down Expand Up @@ -37,9 +41,14 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install dependencies
run: pip install argparse eth_abi halmos

- name: Install Halmos
run: pip install halmos
- name: Run Python reference tests
run: |
forge test -vvv --ffi --match-test testRef
id: test-ref

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

0 comments on commit 8742d6b

Please sign in to comment.