Merge pull request #996 from qiboteam/stinespring #5788
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
# A single CI script with github workflow | |
name: Tests | |
on: | |
workflow_dispatch: | |
push: | |
merge_group: | |
pull_request: | |
types: [labeled] | |
jobs: | |
build: | |
if: contains(github.event.pull_request.labels.*.name, 'run-workflow') || github.event_name == 'push' | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: [ 3.8, 3.9, '3.10', '3.11'] | |
uses: qiboteam/workflows/.github/workflows/rules-poetry.yml@main | |
with: | |
os: ${{ matrix.os }} | |
python-version: ${{ matrix.python-version }} | |
doctests: ${{ matrix.os == 'ubuntu-latest'}} | |
poetry-extras: "--with tests,docs" | |
secrets: inherit |