-
Notifications
You must be signed in to change notification settings - Fork 51
44 lines (41 loc) · 1.1 KB
/
hydra.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
41
42
43
44
name: Hydra backend test
on:
push:
merge_group:
pull_request_target:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10.14
uses: actions/setup-python@v2
with:
python-version: 3.10.14
- 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: Set up Go
uses: actions/setup-go@v3
with:
go-version: '^1.17'
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Compile Gnark
run: make go
- name: Compile Rust bindings with maturin
run: |
source venv/bin/activate
cd tools/hades_binding
maturin develop --release
- name: Run pytest
run: |
source venv/bin/activate
pytest tests/hydra/ -n auto