diff --git a/.forgejo/workflows/tests.yaml b/.forgejo/workflows/tests.yaml new file mode 100644 index 0000000..d5f692a --- /dev/null +++ b/.forgejo/workflows/tests.yaml @@ -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 diff --git a/.woodpecker.yml b/.woodpecker.yml deleted file mode 100644 index 3834186..0000000 --- a/.woodpecker.yml +++ /dev/null @@ -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