diff --git a/.forgejo/workflows/tests.yaml b/.forgejo/workflows/tests.yaml new file mode 100644 index 0000000..e06551d --- /dev/null +++ b/.forgejo/workflows/tests.yaml @@ -0,0 +1,14 @@ +--- +name: Run tests +on: [push] +jobs: + tests: + runs-on: docker + container: + image: docker.io/brenard/python-pre-commit:latest + options: "--workdir /src" + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Run pre-commit + run: pre-commit run --all-files