1.10.0 #308
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: Test Pull Request Branch | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test: | |
name: Test (${{ matrix.python }}) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
steps: | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
- name: Commit Linter | |
uses: wagoid/commitlint-github-action@v5 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 22 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
- id: install | |
name: Install project | |
run: ./scripts/install | |
- id: format | |
name: Code format checking | |
run: ./scripts/format --check . | |
- id: lint | |
name: Code linting | |
run: ./scripts/lint --output-format=github . | |
- id: typecheck | |
name: Static types check | |
run: ./scripts/typecheck | |
- id: tests | |
name: Tests | |
run: ./scripts/test |