Switch from Woodpecker CI to Forgejo Actions
All checks were successful
Run tests / test-precommit (push) Successful in 1m5s
All checks were successful
Run tests / test-precommit (push) Successful in 1m5s
This commit is contained in:
parent
a5a91d14cf
commit
a27af14040
2 changed files with 17 additions and 7 deletions
17
.forgejo/workflows/tests.yaml
Normal file
17
.forgejo/workflows/tests.yaml
Normal 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
|
|
@ -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
|
Loading…
Reference in a new issue