Skip to content

Merge pull request #96 from openzim/single-user #84

Merge pull request #96 from openzim/single-user

Merge pull request #96 from openzim/single-user #84

Workflow file for this run

name: QA-Backend
on:
pull_request:
paths:
- 'backend/**'
push:
branches: [ main ]
jobs:
check-backend-qa:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version-file: 'backend/pyproject.toml'
architecture: x64
- name: Install dependencies (and project)
working-directory: backend
run: |
pip install -U pip
pip install -e .[lint,scripts,test,check]
- name: Check black formatting
working-directory: backend
run: inv lint-black
- name: Check ruff
working-directory: backend
run: inv lint-ruff
- name: Check pyright
working-directory: backend
run: inv check-pyright