1.9.1 #278
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: 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 |