Change github test workflow: add coverage and bandit
This commit is contained in:
parent
737b529298
commit
a132556233
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
|||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install wheel
|
||||
pip install flake8 pylint
|
||||
pip install bandit flake8 pylint
|
||||
pip install -r requirements.txt
|
||||
python setup.py install
|
||||
- name: Lint
|
||||
|
@ -35,7 +35,10 @@ jobs:
|
|||
flake8 minode --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
flake8 minode --count --statistics
|
||||
pylint minode --exit-zero --rcfile=tox.ini
|
||||
bandit -r --exit-zero -x tests minode
|
||||
- name: Test
|
||||
run: |
|
||||
export PYTHONWARNINGS=all
|
||||
python -bm tests
|
||||
coverage run -a -m tests
|
||||
- name: Summary
|
||||
run: coverage report
|
||||
|
|
Loading…
Reference in New Issue
Block a user