Skip to content

feat: add configuration models for HyperTKET compilation options (#10) #31

feat: add configuration models for HyperTKET compilation options (#10)

feat: add configuration models for HyperTKET compilation options (#10) #31

Workflow file for this run

name: Checks and tests
on:
pull_request:
branches:
- "main"
push:
branches:
- main
jobs:
check:
name: Checks and tests
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ['3.10']
action: ['check', 'test']
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Cache poetry
uses: actions/cache@v4
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up poetry
run: |
pip install pip==22.2.1 poetry==1.8.2
poetry run pip install --upgrade pip
- name: Install dependencies
run: |
poetry install --all-extras
- name: Perform '${{ matrix.action }}'
run: |
make ${{ matrix.action }}