Skip to content

Commit cab7781

Browse files
committed
Merge branch 'master' of github.com:intel/cve-bin-tool
2 parents 264c15a + 3fb4cce commit cab7781

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/pythonapp.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,22 @@ name: cve-bin-tool
33
on: [push, pull_request]
44

55
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+
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
@@ -20,11 +29,7 @@ jobs:
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+

0 commit comments

Comments
 (0)