Skip to content

Add new qir_to_pytket method. #5

Add new qir_to_pytket method.

Add new qir_to_pytket method. #5

Workflow file for this run

name: PR checks
on:
pull_request:
branches:
- main
jobs:
lints:
name: Run black and ruff checks
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install black and ruff
run: pip install black ruff
- name: Run black check
run: black --check .
- name: Run ruff check
run: ruff check .
checks:
name: Run quick unit tests
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
pyver: ['3.10', '3.12']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.pyver }}
- name: Install flit
run: pip install flit
- name: Install pytket-qirpass
run: flit install
- name: Run quick tests
run: python -m unittest
- name: Run mypy check
run: |
pip install mypy
mypy .