Add a small section on how to use temporary qubits in guide building … #159
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: Run examples | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- name: py39 | |
python-version: "3.9" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install -r requirements-dev.txt | |
- name: Install package | |
run: pip install -e . | |
- name: Run tests | |
run: pytest --nbmake examples --nbmake-kernel=python --nbmake-timeout=240 --durations=0 |