Skip to content

v0.2.0

v0.2.0 #1

Workflow file for this run

name: Deploy
on:
release:
types: [published]
defaults:
run:
shell: bash
jobs:
pre-deploy-checks:
name: Deploy to PyPI
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: ./.github/actions/setup
with:
python-version: "3.11"
venv-id: "deploy"
poetry-dependency-install-flags: "--all-extras"
- name: Run tests
run: |
poetry run pytest -r a src tests --doctest-modules
upload-all:
name: Upload if release
needs: [ build_wheels, build_sdist, pre-deploy-checks ]

Check failure on line 31 in .github/workflows/deploy.yaml

View workflow run for this annotation

GitHub Actions / Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yaml (Line: 31, Col: 14): Job 'upload-all' depends on unknown job 'build_wheels'. .github/workflows/deploy.yaml (Line: 31, Col: 28): Job 'upload-all' depends on unknown job 'build_sdist'.
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
environment: pypi
permissions:
id-token: write
steps:
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: actions/download-artifact@v4
with:
pattern: cibw-*
merge-multiple: true
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1