Skip to content

[pre-commit.ci] pre-commit autoupdate #236

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #236

Workflow file for this run

name: Tests
on:
workflow_dispatch:
push:
merge_group:
pull_request:
types: [labeled, opened]
jobs:
build:
if: contains(github.event.pull_request.labels.*.name, 'run-workflow') || github.event_name == 'push'
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.9, '3.10', '3.11', '3.12']
uses: qiboteam/workflows/.github/workflows/rules-poetry.yml@v1
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
doctests: ${{ matrix.os == 'ubuntu-latest'}}
poetry-extras: "--with test,docs"
secrets: inherit