Remove deprecated stochastic swap transpiler pass (#13791) #108
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: Tests | |
on: | |
push: | |
branches: [ main, 'stable/*' ] | |
pull_request: | |
branches: [ main, 'stable/*' ] | |
merge_group: | |
concurrency: | |
group: ${{ github.repository }}-${{ github.ref }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
if: github.repository_owner == 'Qiskit' | |
name: ${{ matrix.os }}-arm64-tests-Python-${{ matrix.python-version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9", "3.13"] | |
os: ["macOS-14", "ubuntu-24.04-arm"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: arm64 | |
- name: 'Install dependencies' | |
run: | | |
python -m pip install -U -r requirements.txt -c constraints.txt | |
python -m pip install -U -r requirements-dev.txt -c constraints.txt | |
python -m pip install -c constraints.txt -e . | |
if: matrix.python-version == '3.9' | |
env: | |
QISKIT_NO_CACHE_GATES: 1 | |
- name: 'Install dependencies' | |
run: | | |
python -m pip install -U -r requirements.txt -c constraints.txt | |
python -m pip install -U -r requirements-dev.txt -c constraints.txt | |
python -m pip install -c constraints.txt -e . | |
if: matrix.python-version == '3.13' | |
- name: 'Install optionals' | |
run: | | |
python -m pip install -r requirements-optional.txt -c constraints.txt | |
python tools/report_numpy_state.py | |
if: matrix.python-version == '3.9' | |
- name: 'Run tests' | |
run: stestr run |