Remove Gnark dependency #61
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Hydra backend test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
types: [opened, synchronize, reopened] | |
merge_group: | |
jobs: | |
test-hydra: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10.14 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.10.14 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
components: rustfmt, clippy | |
- name: Install dependencies | |
run: | | |
python -m venv venv | |
source venv/bin/activate | |
echo 'export PYTHONPATH="$PWD:$PYTHONPATH"' >> venv/bin/activate | |
pip install -r tools/make/requirements.txt | |
- name: Compile Rust bindings and run tests | |
run: | | |
source venv/bin/activate | |
cd tools/garaga_rs | |
cargo test | |
maturin develop --release | |
- name: Run pytest | |
run: | | |
source venv/bin/activate | |
pytest -n auto |