From 0d140bfc21e689ec261d36456e87e3d3e732c8db Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 22 Jan 2024 00:27:07 +0100 Subject: [PATCH] CI: use pre-commit to run all tests --- .woodpecker.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 557c80b..b117439 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,13 +1,8 @@ -pipeline: - test-pylint: +--- +steps: + test-precommit: group: test - image: pipelinecomponents/pylint + image: brenard/python-pre-commit commands: - - python3 -m pip install debian-parser requests urllib3 - - pylint aptly-publish - - test-flake8: - group: test - image: pipelinecomponents/flake8 - commands: - - flake8 aptly-publish + - python3 -m pip install --break-system-packages debian-parser requests urllib3 + - pre-commit run --all-files