-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (45 loc) · 1.14 KB
/
qa.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: QA Checks
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
qa:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "22"
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y make
- name: Install backend dependencies
working-directory: ./server
run: |
python3 -m venv .venv
.venv/bin/pip install --upgrade pip
pip install uv
uv sync --frozen
shell: bash
- name: Install frontend dependencies
working-directory: ./frontend
run: npm install
shell: bash
- name: Run QA checks
run: make qa
shell: bash
- name: Upload coverage reports
uses: actions/upload-artifact@v3
with:
name: coverage-reports
path: |
server/htmlcov
frontend/coverage