From 8c8cabfda1b6afab98aa0bb79a77be21be4bc339 Mon Sep 17 00:00:00 2001 From: lagertonne Date: Mon, 11 Nov 2024 21:36:02 +0100 Subject: [PATCH] Fix python dependency detection --- .forgejo/workflows/testing.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/testing.yml b/.forgejo/workflows/testing.yml index f73b8a1..86641c3 100644 --- a/.forgejo/workflows/testing.yml +++ b/.forgejo/workflows/testing.yml @@ -13,13 +13,13 @@ jobs: - uses: actions/setup-python@v5 with: python-version: '3.11' - cache: 'pip' - - name: Install needed python modules + cache-dependency-path: '**/requirements.prod.txt' + - name: Install dependencies working-directory: core - run: cd core && pip3 install -r requirements.prod.txt + run: pip3 install -r requirements.prod.txt - name: Run django tests working-directory: core - run: python3 -m manage.py test + run: python3 manage.py test deploy: needs: [test]