From b8e20230989a6eb7a5a6ab233573fbde5ad12bd7 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 | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 557c80b..6b9d2e0 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,13 +1,7 @@ -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 + - pre-commit run --all-files