-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 956 Bytes
/
Copy pathpython-ci.yml
File metadata and controls
30 lines (28 loc) · 956 Bytes
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
name: QRAE V0 Python CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
python-v0:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: python -m pip install --upgrade pip
- run: pip install -e ".[full]"
- run: pytest -q
- name: Run and verify deterministic kernel fixture
shell: bash
run: |
run_output="$(python -m qrae.cli run --work-order examples/price_baseline/work_order.json --workspace . --output-root .quantos-ci)"
run_dir="$(python -c 'import json,sys; print(json.load(sys.stdin)["run_dir"])' <<<"$run_output")"
python -m qrae.cli verify --run-dir "$run_dir"
- run: python scripts/qrae_readiness.py --env dev
- uses: actions/upload-artifact@v4
with:
name: qrae-v0-artifacts
path: .quantos-ci/