@@ -17,10 +17,10 @@ jobs:
17
17
steps :
18
18
- uses : actions/checkout@v1
19
19
20
- - name : Set up Python 3.6 🐍
20
+ - name : Set up Python 3.7 🐍
21
21
uses : actions/setup-python@v1
22
22
with :
23
- python-version : ' 3.6 '
23
+ python-version : ' 3.7 '
24
24
25
25
- name : Install Nox
26
26
run : python -m pip install nox==2020.8.22
@@ -35,10 +35,10 @@ jobs:
35
35
steps :
36
36
- uses : actions/checkout@v1
37
37
38
- - name : Set up Python 3.6 🐍
38
+ - name : Set up Python 3.7 🐍
39
39
uses : actions/setup-python@v1
40
40
with :
41
- python-version : ' 3.6 '
41
+ python-version : ' 3.7 '
42
42
43
43
- name : Install Nox
44
44
run : python -m pip install nox==2020.8.22
@@ -53,10 +53,10 @@ jobs:
53
53
steps :
54
54
- uses : actions/checkout@v1
55
55
56
- - name : Set up Python 3.6 🐍
56
+ - name : Set up Python 3.7 🐍
57
57
uses : actions/setup-python@v1
58
58
with :
59
- python-version : ' 3.6 '
59
+ python-version : ' 3.7 '
60
60
61
61
- name : Build 🔨
62
62
run : |
@@ -71,10 +71,10 @@ jobs:
71
71
steps :
72
72
- uses : actions/checkout@v1
73
73
74
- - name : Set up Python 3.9 🐍
74
+ - name : Set up Python 3.7 🐍
75
75
uses : actions/setup-python@v1
76
76
with :
77
- python-version : ' 3.9 '
77
+ python-version : ' 3.7 '
78
78
79
79
- name : Install PyInstaller
80
80
run : python -m pip install pyinstaller==4.0
@@ -93,17 +93,21 @@ jobs:
93
93
name : checksec.exe
94
94
path : dist/checksec.exe
95
95
96
+ # TODO: can't test rich output: UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-78: character maps to <undefined>
97
+ - name : Smoke test
98
+ run : ./dist/checksec.exe C:\Windows --json
99
+
96
100
test :
97
101
needs : build
98
102
runs-on : ubuntu-latest
99
103
100
104
steps :
101
105
- uses : actions/checkout@v1
102
106
103
- - name : Set up Python 3.6 🐍
107
+ - name : Set up Python 3.7 🐍
104
108
uses : actions/setup-python@v1
105
109
with :
106
- python-version : ' 3.6 '
110
+ python-version : ' 3.7 '
107
111
108
112
- name : Install Nox
109
113
run : python -m pip install nox==2020.8.22
@@ -177,10 +181,10 @@ jobs:
177
181
steps :
178
182
- uses : actions/checkout@v1
179
183
180
- - name : Set up Python 3.6 🐍
184
+ - name : Set up Python 3.7 🐍
181
185
uses : actions/setup-python@v1
182
186
with :
183
- python-version : ' 3.6 '
187
+ python-version : ' 3.7 '
184
188
185
189
- name : Build 🔨
186
190
run : |
0 commit comments