Switch from Woodpecker CI to Forgejo Actions
Some checks failed
Run tests / test-precommit (push) Failing after 2s
Some checks failed
Run tests / test-precommit (push) Failing after 2s
This commit is contained in:
parent
a5a91d14cf
commit
c0e4e7e4ee
2 changed files with 17 additions and 7 deletions
17
.forgejo/workflows/release.yaml
Normal file
17
.forgejo/workflows/release.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
|
||||
uses: 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