From 97f4875aee5262c14c77c01475f8e52113252ce6 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 15 Jul 2024 15:25:40 +0200 Subject: [PATCH] Configure CI to run tests --- .forgejo/workflows/tests.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .forgejo/workflows/tests.yaml 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