Deprecate get_induced_subgraph and update docstrings for CouplingGraph and get_subgraph
#698
Workflow file for this run
This file contains hidden or 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: tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| tests: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] | |
| os: [macOS-latest, windows-latest, ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Upgrade python environment | |
| run: python -m pip install --upgrade virtualenv setuptools pip | |
| - name: Upgrade test dependencies | |
| run: python -m pip install psutil pytest 'hypothesis[zoneinfo]' qiskit | |
| - name: Install BQSKit | |
| env: | |
| SYSTEM_VERSION_COMPAT: 0 | |
| run: pip install . | |
| - name: Run tests | |
| env: | |
| NUMBER_RANDOM_CIRCUITS: 100 | |
| run: pytest --ignore=tests/compiler/compile --ignore=tests/passes/partitioning/test_parts.py --ignore=tests/passes/synthesis/test_qfast.py | |
| - name: Run notebooks with nbval | |
| run: | | |
| pip install nbval | |
| pytest --nbval-lax examples/tutorials/ |