Skip to content

Commit

Permalink
add separate ci for ffi tests
Browse files Browse the repository at this point in the history
  • Loading branch information
daejunpark committed Sep 11, 2023
1 parent 9a7f039 commit 3a3c2d1
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/test-ffi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Test FFI

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

jobs:
test:
runs-on: macos-latest

strategy:
fail-fast: false
matrix:
include:
- testname: "ffi:tests"

steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Install Halmos
run: pip install -e .

- name: Run pytest
run: pytest -v tests/test_halmos.py -k ${{ matrix.testname }} --halmos-options="--ffi -v -st --error-unknown --test-parallel --solver-parallel --solver-timeout-assertion 0"

0 comments on commit 3a3c2d1

Please sign in to comment.