-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 932 Bytes
/
qa.yaml
File metadata and controls
33 lines (33 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: QA
on: pull_request
jobs:
qa:
name: Run QA checks
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set up Node.js @latest
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install the world
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements_dev.txt
pip install -e .
- name: Run linting
run: |
flake8 ./crystalfontz ./tests
- name: Run type checking
run: |
npx pyright@latest
- name: Run tests
run: |
pytest ./tests --ignore-glob='./tests/integration/**'