File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,22 @@ name: cve-bin-tool
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
+ check :
7
+ name : Black check
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v1
11
+ - uses : jpetrucciani/black-check@master
12
+
6
13
build :
7
14
8
15
runs-on : ${{ matrix.os }}
9
16
strategy :
10
17
matrix :
11
18
os : [ubuntu-latest]
12
19
python : [3.6, 3.7]
20
+ env :
21
+ ACTIONS : 1
13
22
steps :
14
23
- uses : actions/checkout@v1
15
24
- name : Set up Python
20
29
run : |
21
30
python -m pip install --upgrade pip
22
31
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
32
- name : Run tests
29
33
run : |
30
- ACTIONS=1 python setup.py test
34
+ python setup.py test
35
+
You can’t perform that action at this time.
0 commit comments