CI: use pre-commit to run all tests
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Benjamin Renard 2024-01-22 00:27:07 +01:00
parent 4d4a3839fa
commit 0b15f1c2a8

View file

@ -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