Switch from Woodpecker CI to Forgejo Actions
Some checks failed
Run tests / test-precommit (push) Failing after 3s

This commit is contained in:
Benjamin Renard 2024-03-10 19:25:19 +01:00
parent a5a91d14cf
commit 30cab834cc
2 changed files with 17 additions and 7 deletions

View file

@ -0,0 +1,17 @@
---
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: Install python dependencies
run: python3 -m pip install --break-system-packages debian-parser requests urllib3
- name: Run pre-commit
run: pre-commit run --all-files

View file

@ -1,7 +0,0 @@
---
steps:
test-precommit:
image: brenard/python-pre-commit
commands:
- python3 -m pip install --break-system-packages debian-parser requests urllib3
- pre-commit run --all-files