@@ -43,27 +43,33 @@ jobs:
43
43
# - name: Run tests
44
44
# run: pytest tests/
45
45
46
- # linux:
47
- # runs-on: ubuntu-latest
48
- # steps:
49
- # - uses: actions/[email protected]
50
- # - name: Set up Python 3.12
51
-
52
- # with:
53
- # python-version: "3.12"
54
- # - name: Install dependencies
55
- # run: |
56
- # python -m pip install --upgrade pip
57
- # pip install -r requirements.txt
58
- # pip install cx_Freeze
59
- # - name: Run cx_freeze
60
- # run: python setup.py bdist_appimage
61
- # - name: Upload cx_freeze appimage
62
-
63
- # with:
64
- # name: Drill-linux.appimage
65
- # path: build/*.appimage
66
- # if-no-files-found: error
46
+ linux-cd :
47
+ name : Linux CD
48
+ runs-on : ubuntu-latest
49
+ steps :
50
+
51
+ - name : Set up Python 3.12
52
+
53
+ with :
54
+ python-version : " 3.12"
55
+ - name : Install dependencies
56
+ run : |
57
+ python -m pip install --upgrade pip
58
+ pip install -r requirements-cd.txt
59
+ - name : Lint with flake8
60
+ run : python -m flake8 ./src ./tests --count --show-source --statistics
61
+ - name : Run tests
62
+ run : python -m pytest tests/
63
+ - name : Run cx_freeze
64
+ run : python setup.py bdist_appimage
65
+ - name : Upload cx_freeze appimage
66
+
67
+ with :
68
+ name : Drill-linux.appimage
69
+ path : build/*.appimage
70
+ if-no-files-found : error
71
+ retention-days : 7
72
+ compression-level : 9
67
73
68
74
# macos:
69
75
0 commit comments