Skip to content

Commit

Permalink
set up specific QA for each subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
elfkuzco committed May 31, 2024
1 parent c48af02 commit 8b9a744
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/backend-QA.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Backend QA

on:
pull_request:
push:
branches:
- main

jobs:
check-qa:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3

- name: Set up Python
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
38 changes: 38 additions & 0 deletions .github/workflows/worker-QA.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Worker QA

on:
pull_request:
push:
branches:
- main

jobs:
check-qa:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version-file: worker/pyproject.toml
architecture: x64

- name: Install dependencies (and project)
working-directory: worker
run: |
pip install -U pip
pip install -e .[lint,scripts,test,check]
- name: Check black formatting
working-directory: worker
run: inv lint-black

- name: Check ruff
working-directory: worker
run: inv lint-ruff

- name: Check pyright
working-directory: worker
run: inv check-pyright

0 comments on commit 8b9a744

Please sign in to comment.