Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12 #551
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: CI | |
on: | |
push: | |
branches: | |
- main | |
- release | |
pull_request: | |
jobs: | |
formatting: | |
name: Formatting and static analysis | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
- run: python -m pip install --upgrade pip | |
- run: python -m pip install -r requirements/ci.txt | |
- run: tox -e static | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Apply automatic formatting | |
type-checking: | |
name: Type checking | |
needs: formatting | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- run: python -m pip install --upgrade pip | |
- run: python -m pip install -r requirements/ci.txt | |
- run: tox -e mypy | |
tests: | |
name: Tests ${{ matrix.os }} ${{ matrix.tox }} | |
needs: formatting | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- {python: '3.12', os: ubuntu-22.04, tox: py312-full} | |
- {python: '3.11', os: ubuntu-22.04, tox: py311-full} | |
- {python: '3.10', os: ubuntu-22.04, tox: py310-full} | |
- {python: '3.9', os: ubuntu-22.04, tox: py39-full} | |
- {python: '3.9', os: macos-12, tox: py39} | |
- {python: '3.9', os: windows-2022, tox: py39} | |
steps: | |
- run: sudo apt install --yes docker-compose | |
if: ${{ contains(matrix.variant.os, 'ubuntu') }} | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- run: python -m pip install --upgrade pip | |
- run: python -m pip install -r requirements/ci.txt | |
- run: tox -e ${{ matrix.tox }} | |
docs: | |
needs: tests | |
uses: ./.github/workflows/docs.yml |