Skip to content

Commit c77f507

Browse files
committed
split off black check
1 parent 3e57336 commit c77f507

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/pythonapp.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,22 @@ jobs:
2828
- name: Run tests
2929
run: |
3030
ACTIONS=1 python setup.py test
31+
32+
check:
33+
name: Black check
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v1
37+
- name: Set up Python
38+
uses: actions/setup-python@v1
39+
with:
40+
python-version: ${{ matrix.python }}
41+
- name: Install dependencies
42+
run: |
43+
python -m pip install --upgrade pip
44+
pip install -r requirements.txt
45+
- name: Lint with black
46+
run: |
47+
pip install black
48+
black --check cve_bin_tool/
49+
black --check test/

0 commit comments

Comments
 (0)