mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
ci: Add pep8 test job.
This commit is contained in:
1 parent
fa2454d079
commit
bf05b5ddc1
1 file changed
+17
@@ -234,6 +234,23 @@ build-windows:
|
||||
# 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:
|
||||
# stage: test
|
||||
# tags:
|
||||
|
||||
Reference in new issue
Block a user