-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (36 loc) · 982 Bytes
/
checks.yml
File metadata and controls
41 lines (36 loc) · 982 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
39
40
41
---
name: Checks
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
issues: write
pull-requests: write
jobs:
formating:
name: Format checks
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
# - name: Check formatting
# run: docker compose run --rm backend sh -c "black ."
linting:
name: Linting checks
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
# - name: Run Linting
# run: docker compose run --rm backend sh -c "ruff ."
testing:
name: Run unit tests
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
# - name: Run tests
# run: docker compose run --rm backend sh -c "pytest -v"