From c787e55ef30ecf4654ec89354771fe93c0dab50d Mon Sep 17 00:00:00 2001 From: marwin Date: Mon, 16 Mar 2026 19:40:11 +0100 Subject: [PATCH] Add CI test workflow --- .forgejo/workflows/test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .forgejo/workflows/test.yml diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml new file mode 100644 index 0000000..4976a9f --- /dev/null +++ b/.forgejo/workflows/test.yml @@ -0,0 +1,26 @@ +name: Test + +on: + push: + branches: + - master + - testing + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + container: + image: python:3.12-slim + + steps: + - uses: actions/checkout@v4 + + - name: Install dependencies + run: pip install --no-cache-dir -r requirements.txt + + - name: Django system check + run: python manage.py check + + - name: Run tests + run: python manage.py test