forked from s3lph/matemat
Added a codestyle CI job to check for PEP8 compliance.
This commit is contained in:
parent
8059765410
commit
82eb4f37f1
2 changed files with 9 additions and 1 deletions
|
@ -5,7 +5,14 @@ test:
|
|||
script:
|
||||
- apt-get update -qy
|
||||
- apt-get install -y --no-install-recommends python3-dev python3-pip python3-coverage python3-setuptools build-essential
|
||||
- pip3 install wheel
|
||||
- pip3 install -r requirements.txt
|
||||
- python3-coverage run --branch -m unittest discover matemat
|
||||
- python3-coverage report -m --include 'matemat/*' --omit '*/test_*.py'
|
||||
|
||||
codestyle:
|
||||
script:
|
||||
- apt-get update -qy
|
||||
- apt-get install -y --no-install-recommends python3-dev python3-pip python3-coverage python3-setuptools build-essential
|
||||
- pip3 install -r requirements.txt
|
||||
- pip3 install pycodestyle
|
||||
- pycodestyle matemat
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
wheel
|
||||
bcrypt
|
||||
apsw
|
||||
|
|
Loading…
Reference in a new issue