File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ python-version : ["3.11", "3.12"]
15+ env :
16+ QRMI_WRAPPERS_SIMULATE : " 1"
17+ steps :
18+ - uses : actions/checkout@v4
19+ - uses : actions/setup-python@v5
20+ with :
21+ python-version : ${{ matrix.python-version }}
22+ - name : Install test dependencies
23+ run : |
24+ python -m pip install --upgrade pip
25+ # Wrappers declare their real deps in each environment.yaml (deployed
26+ # via `snakemake --use-conda`). CI runs the simulate path, which needs
27+ # only Snakemake + Qiskit + Aer (no qrmi, no QPU).
28+ pip install "snakemake>=8" pytest "qiskit>=1.3" "qiskit-aer>=0.15" "amazon-braket-sdk>=1.90" "qiskit_qasm3_import>=0.6.0"
29+ - name : Run wrapper tests (simulate mode)
30+ run : pytest -q
You can’t perform that action at this time.
0 commit comments