CI: use pre-commit to run all tests
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
4d4a3839fa
commit
0b15f1c2a8
1 changed files with 6 additions and 12 deletions
|
@ -1,13 +1,7 @@
|
||||||
pipeline:
|
---
|
||||||
test-pylint:
|
steps:
|
||||||
group: test
|
test-precommit:
|
||||||
image: pipelinecomponents/pylint
|
image: brenard/python-pre-commit
|
||||||
commands:
|
commands:
|
||||||
- python3 -m pip install debian-parser requests urllib3
|
- python3 -m pip install --break-system-packages debian-parser requests urllib3
|
||||||
- pylint aptly-publish
|
- pre-commit run --all-files
|
||||||
|
|
||||||
test-flake8:
|
|
||||||
group: test
|
|
||||||
image: pipelinecomponents/flake8
|
|
||||||
commands:
|
|
||||||
- flake8 aptly-publish
|
|
||||||
|
|
Loading…
Reference in a new issue