File tree Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,32 @@ name: cve-bin-tool
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
+ black_check :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v1
10
+ - name : Set up Python
11
+ uses : actions/setup-python@v1
12
+ with :
13
+ python-version : 3.7
14
+ - name : Install dependencies
15
+ run : |
16
+ python -m pip install --upgrade pip
17
+ pip install -r requirements.txt
18
+ - name : Lint with black
19
+ run : |
20
+ pip install black
21
+ black --check cve_bin_tool/
22
+ black --check test/
23
+
6
24
build :
7
25
8
26
runs-on : ${{ matrix.os }}
9
27
strategy :
10
28
matrix :
11
29
os : [ubuntu-latest, windows-latest]
12
- python : [3.6, 3.7]
30
+ python : [2.7, 3.6, 3.7]
31
+ fail-fast : false
13
32
steps :
14
33
- uses : actions/checkout@v1
15
34
- name : Set up Python
20
39
run : |
21
40
python -m pip install --upgrade pip
22
41
pip install -r requirements.txt
23
- - name : Lint with black
24
- run : |
25
- pip install black
26
- black --check cve_bin_tool/
27
- black --check test/
28
42
- name : Run tests
29
43
run : |
30
44
ACTIONS=1 python setup.py test
You can’t perform that action at this time.
0 commit comments