Merge pull request #1538 from qiboteam/Heisenberg #10807
Workflow file for this run
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, opened] # opened is required to allow external contributors | |
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.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 tests,docs" | |
secrets: inherit |