Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,22 @@ name: cve-bin-tool
on: [push, pull_request]

jobs:
check:
name: Black check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: jpetrucciani/black-check@master

build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: [3.6, 3.7]
env:
ACTIONS: 1
steps:
- uses: actions/checkout@v1
- name: Set up Python
Expand All @@ -20,11 +29,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with black
run: |
pip install black
black --check cve_bin_tool/
black --check test/
- name: Run tests
run: |
ACTIONS=1 python setup.py test
python setup.py test