File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on : [push]
3+ jobs :
4+ build-deb :
5+ runs-on : ubuntu-latest
6+ strategy :
7+ matrix :
8+ python-version : ['3.13']
9+ steps :
10+ - uses : actions/checkout@v3
11+ - name : Setup python ${{ matrix.python-version}}
12+ uses : actions/setup-python@v3
13+ with :
14+ python-version : ${{ matrix.python-version }}
15+ - name : Build deb
16+ run : python build.py
17+ - name : Upload deb
18+ uses : actions/upload-artifact@v4
19+ with :
20+ name : solarpi
21+ path : dist/
22+ check-code :
23+ runs-on : ubuntu-latest
24+ strategy :
25+ matrix :
26+ python-version : ['3.13']
27+ steps :
28+ - uses : actions/checkout@v3
29+ - name : Setup python ${{ matrix.python-version}}
30+ uses : actions/setup-python@v3
31+ with :
32+ python-version : ${{ matrix.python-version }}
33+ - name : Install dependencies
34+ run : pip install -U mypy black isort flake8
35+ - name : Run checks
36+ run : |
37+ isort solarpi --check --diff
38+ black solarpi --check --diff
39+ mypy solarpi--ignore-missing-imports
40+ flake8 --ignore=E501,W503 solarpi
41+
42+
You can’t perform that action at this time.
0 commit comments