From bf05b5ddc14a29c0780809667fb11236b50e7f3b Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr> Date: Wed, 11 Oct 2023 11:12:32 +0200 Subject: [PATCH] ci: Add pep8 test job. --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 58831384..407149d2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: -- GitLab