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
33on : [push, pull_request]
44
55jobs :
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+
613 build :
714
815 runs-on : ${{ matrix.os }}
916 strategy :
1017 matrix :
1118 os : [ubuntu-latest]
1219 python : [3.6, 3.7]
20+ env :
21+ ACTIONS : 1
1322 steps :
1423 - uses : actions/checkout@v1
1524 - name : Set up Python
2029 run : |
2130 python -m pip install --upgrade pip
2231 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/
2832 - name : Run tests
2933 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