Skip to content

Copier update

Copier update #107

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- "*"
pull_request:
jobs:
lint:
uses: ./.github/workflows/_tox.yml
with:
tox: pre-commit,type-checking
test:
strategy:
matrix:
runs-on: ["ubuntu-latest", "windows-latest", "macos-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
exclude:
# See issue #63
- runs-on: "macos-latest"
python-version: "3.13"
fail-fast: false
uses: ./.github/workflows/_test.yml
with:
runs-on: ${{ matrix.runs-on }}
python-version: ${{ matrix.python-version }}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
docs:
uses: ./.github/workflows/_docs.yml
permissions:
contents: write
dist:
uses: ./.github/workflows/_dist.yml
pypi:
needs: [dist, test]
if: github.ref_type == 'tag'
uses: ./.github/workflows/_pypi.yml
permissions:
id-token: write
release:
needs: [dist, test, docs]
if: github.ref_type == 'tag'
uses: ./.github/workflows/_release.yml
permissions:
contents: write