File tree Expand file tree Collapse file tree 1 file changed +63
-0
lines changed
Expand file tree Collapse file tree 1 file changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+ name : QA
3+ jobs :
4+ black :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v6
8+ - uses : actions/setup-python@v6
9+ with :
10+ python-version : ' 3.14'
11+ - name : apt update
12+ run : sudo apt update
13+ - name : apt install
14+ run : sudo apt install python3-poetry
15+ - name : poetry install
16+ run : poetry install
17+ - name : pytest
18+ run : poetry run black --diff .
19+ flake8 :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : actions/checkout@v6
23+ - uses : actions/setup-python@v6
24+ with :
25+ python-version : ' 3.14'
26+ - name : apt update
27+ run : sudo apt update
28+ - name : apt install
29+ run : sudo apt install python3-poetry
30+ - name : poetry install
31+ run : poetry install
32+ - name : pytest
33+ run : poetry run flake8 --ignore E501
34+ mypy :
35+ runs-on : ubuntu-latest
36+ steps :
37+ - uses : actions/checkout@v6
38+ - uses : actions/setup-python@v6
39+ with :
40+ python-version : ' 3.14'
41+ - name : apt update
42+ run : sudo apt update
43+ - name : apt install
44+ run : sudo apt install python3-poetry
45+ - name : poetry install
46+ run : poetry install
47+ - name : pytest
48+ run : poetry run mypy --check-untyped-defs .
49+ test :
50+ runs-on : ubuntu-latest
51+ steps :
52+ - uses : actions/checkout@v6
53+ - uses : actions/setup-python@v6
54+ with :
55+ python-version : ' 3.14'
56+ - name : apt update
57+ run : sudo apt update
58+ - name : apt install
59+ run : sudo apt install python3-poetry distro-info-data
60+ - name : poetry install
61+ run : poetry install
62+ - name : pytest
63+ run : poetry run pytest --verbose
You can’t perform that action at this time.
0 commit comments