Naming and multicircuit #238
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: pr | |
on: pull_request | |
jobs: | |
tests: | |
name: python-${{ matrix.python-version }}-${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [3.8, 3.9, 3.11] | |
os: ["macOS-latest", "ubuntu-latest", "windows-latest"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup-python-${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: install-requirements | |
run: | | |
python -m pip install --upgrade pip tox tox-gh-actions | |
python -m pip install -e . | |
- name: run-tests | |
run: tox | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup-python-3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
- name: install-requirements | |
run: | | |
python -m pip install --upgrade pip tox tox-gh-actions | |
python -m pip install -e . | |
- name: lint | |
run: tox -e lint | |
docs: | |
name: docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup-python-3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
- name: install-requirements | |
run: | | |
python -m pip install --upgrade pip tox tox-gh-actions | |
python -m pip install -e . | |
- name: docs | |
run: tox -e docs |