CI: use pre-commit to run all tests
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Benjamin Renard 2024-01-22 00:27:07 +01:00
parent 3c3f37bdc4
commit b8e2023098

View file

@ -1,13 +1,7 @@
pipeline: steps:
test-pylint: test-precommit:
group: test group: test
image: pipelinecomponents/pylint image: brenard/python-pre-commit
commands: commands:
- python3 -m pip install debian-parser requests urllib3 - python3 -m pip install debian-parser requests urllib3
- pylint aptly-publish - pre-commit run --all-files
test-flake8:
group: test
image: pipelinecomponents/flake8
commands:
- flake8 aptly-publish