add test coverage report
This commit is contained in:
1 parent
81403c2ec9
commit
e0c0ffe3f9
1 file changed
+3
-2
@@ -32,7 +32,8 @@ jobs:
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install flake8 pytest
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
pip install -r requirements.txt
|
||||
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
@@ -41,7 +42,7 @@ jobs:
|
||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest
|
||||
pytest --cov=napalm_s350 --cov-report term-missing -vs
|
||||
|
||||
deploy:
|
||||
|
||||
|
||||
Reference in new issue
Block a user