Update pythonapp.yml

This commit is contained in:
Narbeh 2020-02-06 16:50:23 +04:00 committed by GitHub
parent 82698dafa6
commit f8c0a102c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
name: Python application name: Python SSL Checker
on: on:
push: push:
@ -27,7 +27,8 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest - name: Test the script
run: | run: |
pip install pytest python ssl_checker.py
pytest python ssl_checker.py -H google.com
python ssl_checker.py -H google.com -j