From 552c92f41505841f1ee30b8594a375481ae3dfb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zo=C3=A9=20Cassiop=C3=A9e=20Gauthier?= Date: Wed, 17 Apr 2024 20:06:36 -0400 Subject: [PATCH] Start using a Gitea action for continuous testing --- .gitea/workflows/ci.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/ci.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..ceb5a3a --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,24 @@ +name: Continuous integration + +on: + push: + branches: + - main + +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: https://github.com/actions/checkout@v4 + - name: Set up Python + uses: https://github.com/actions/setup-python@v5 + with: + python-version: 3.12 + - name: Install Hatch + run: pip install hatch + - name: Run static analysis + run: hatch run lint-check + - name: Check types + run: hatch run types-check + - name: Run tests + run: hatch run test