test: enable PSR test in test_models_interface #248
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
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: false | |
poetry-extras: "--with tests" | |
secrets: inherit |