mirror of
https://github.com/openzim/zimit.git
synced 2025-12-31 04:23:15 +00:00
34 lines
636 B
YAML
34 lines
636 B
YAML
name: QA
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
check-qa:
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version-file: pyproject.toml
|
|
architecture: x64
|
|
|
|
- name: Install dependencies (and project)
|
|
run: |
|
|
pip install -U pip
|
|
pip install -e .[lint,scripts,test,check]
|
|
|
|
- name: Check black formatting
|
|
run: inv lint-black
|
|
|
|
- name: Check ruff
|
|
run: inv lint-ruff
|
|
|
|
- name: Check pyright
|
|
run: inv check-pyright
|