From 8535b284f44faffa91b0f3a43be8f3b2f2c365a9 Mon Sep 17 00:00:00 2001 From: Bastien Le Querrec <blq@laquadrature.net> Date: Wed, 3 Apr 2024 23:54:30 +0200 Subject: [PATCH] ci: utilise la commande make --- .gitlab-ci.yml | 2 +- Makefile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2216434..98c4913 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -63,7 +63,7 @@ pep8: - pyvenv.cfg script: - source bin/activate - - pycodestyle --first --show-source *.py + - make lint allow_failure: true rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_PIPELINE_SOURCE == "push" diff --git a/Makefile b/Makefile index b283ebd..f53a8ce 100644 --- a/Makefile +++ b/Makefile @@ -25,3 +25,5 @@ pref83: python cli.py --pref pref83 pref976: python cli.py --pref pref976 +lint: + pycodestyle --first --show-source *.py -- GitLab