ci: Add pep8 test job.

setup.py
Pierre-Antoine Rouby 2023-10-11 11:12:32 +02:00
parent fa2454d079
commit bf05b5ddc1
1 changed files with 17 additions and 0 deletions

View File

@ -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: