-
-
Notifications
You must be signed in to change notification settings - Fork 151
31 lines (27 loc) · 675 Bytes
/
main.yml
File metadata and controls
31 lines (27 loc) · 675 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
name: Github-Actions
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.13
uses: actions/setup-python@v4
with:
python-version: 3.13
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt && pip install -r requirements_test.txt && pip install ruff
- name: Run ruff
run: |
ruff check .
- name: Lint with flake8
run: |
make lint
- name: Run collectstatic
run: |
make collectstatic
- name: Run tests
run: |
make coverage