Skip to content

Commit

Permalink
fixed missing dependency for gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Bister committed Nov 25, 2020
1 parent 58d86a9 commit e1929a8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/preflight_validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov defusedxml black
pip install flake8 pytest pytest-cov defusedxml
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
flake8 --exclude test,docs,examples .
- name: Check Syntax with PSF/Black
run: |
black -l 79 --check . --exclude="tests/|venv|.tox"
- name: Test with pytest
run: |
pytest --cov=libnmap/ --ignore=libnmap/test/test_backend_plugin_factory.py

0 comments on commit e1929a8

Please sign in to comment.