-
-
Notifications
You must be signed in to change notification settings - Fork 152
38 lines (34 loc) · 780 Bytes
/
main.yml
File metadata and controls
38 lines (34 loc) · 780 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
34
35
36
37
38
name: Github-Actions
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: 3.14
- name: Install uv
id: setup-uv
uses: astral-sh/setup-uv@v6
with:
version: "0.7.19"
enable-cache: true
- name: Install dependencies
if: steps.setup-uv.outputs.cache-hit != 'true'
run: uv sync
- name: Run ruff
run: |
uv run ruff check .
- name: Lint with flake8
run: |
make lint
- name: Run collectstatic
run: |
make collectstatic
- name: Run tests
run: |
make coverage