[pre-commit.ci] auto fixes from pre-commit.com hooks #244
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: Build wheels and deploy | |
on: | |
workflow_dispatch: | |
push: | |
merge_group: | |
release: | |
types: | |
- published | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
python-version: [3.9, '3.10', '3.11', '3.12'] | |
uses: qiboteam/workflows/.github/workflows/deploy-pip-poetry.yml@v1 | |
with: | |
os: ${{ matrix.os }} | |
python-version: ${{ matrix.python-version }} | |
publish: ${{ github.event_name == 'release' && github.event.action == 'published' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' }} | |
poetry-extras: "--with dev" | |
secrets: inherit |