From 7ffb7f02b0bdc17bcf1aad82daba44cbbbae649e Mon Sep 17 00:00:00 2001 From: lagertonne Date: Mon, 11 Nov 2024 20:49:17 +0100 Subject: [PATCH] cicd: Add testing --- .forgejo/workflows/testing.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.forgejo/workflows/testing.yml b/.forgejo/workflows/testing.yml index 2237cf9..bee7aeb 100644 --- a/.forgejo/workflows/testing.yml +++ b/.forgejo/workflows/testing.yml @@ -2,7 +2,23 @@ on: push: branches: - testing + - feature/forgejo-actions jobs: + test: + runs-on: docker + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.13' + cache: 'pip' + - name: Install needed python modules + working-directory: core + run: cd core && pip3 install -r requirements.prod.txt + - name: Run django tests + working-directory: core + run: python3 -m manage.py test + deploy: runs-on: docker steps: