From 0b15f1c2a8426a0e326a3022bdebcd59aab3af0c 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 | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 557c80b..3834186 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,13 +1,7 @@ -pipeline: - test-pylint: - group: test - image: pipelinecomponents/pylint +--- +steps: + test-precommit: + 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