Switch from Woodpecker CI to Forgejo Actions
All checks were successful
Run tests / test-precommit (push) Successful in 1m10s

This commit is contained in:
Benjamin Renard 2024-03-15 09:10:00 +01:00
parent 9b16454aac
commit f8745691ff
2 changed files with 15 additions and 12 deletions

View file

@ -0,0 +1,15 @@
---
name: Run tests
on: [push]
jobs:
test-precommit:
runs-on: docker
container:
image: docker.io/brenard/python-pre-commit:latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run pre-commit
run: pre-commit run --all-files

View file

@ -1,12 +0,0 @@
pipeline:
test-pylint:
group: test
image: pipelinecomponents/pylint
commands:
- pylint check_pip_upgrade
test-flake8:
group: test
image: pipelinecomponents/flake8
commands:
- flake8 check_pip_upgrade