Skip to content

1.9.1

1.9.1 #278

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"]
container:
image: python:${{ matrix.python }}
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: 16
- id: install
name: Install requirements
run: |
pip install pip poetry --upgrade
./scripts/install
- id: black
name: Code format checking
run: ./scripts/black --check .
- id: isort
name: Imports order checking
run: ./scripts/isort --check .
- id: ruff
name: Code style (ruff)
run: ./scripts/ruff .
- id: pyright
name: Static types check
run: ./scripts/pyright
- id: tests
name: Tests
run: ./scripts/test