mirror of https://gitlab.com/pamhyr/pamhyr2
ci: Add pep8 test job.
parent
fa2454d079
commit
bf05b5ddc1
|
|
@ -234,6 +234,23 @@ build-windows:
|
||||||
# TESTS #
|
# TESTS #
|
||||||
#########
|
#########
|
||||||
|
|
||||||
|
test-pep8:
|
||||||
|
stage: test
|
||||||
|
tags:
|
||||||
|
- linux
|
||||||
|
needs:
|
||||||
|
- job: set-version
|
||||||
|
artifacts: true
|
||||||
|
script:
|
||||||
|
- mkdir -p pep8
|
||||||
|
- cd pep8
|
||||||
|
# Setup virtual env
|
||||||
|
- python3 -m venv venv
|
||||||
|
- . venv/bin/activate
|
||||||
|
- pip3 install -U -r ../requirements.txt
|
||||||
|
- pip3 install -U pycodestyle
|
||||||
|
- pycodestyle ../src
|
||||||
|
|
||||||
# test-windows:
|
# test-windows:
|
||||||
# stage: test
|
# stage: test
|
||||||
# tags:
|
# tags:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue