From cb2cfed2ac04a50ba217b5b33a18e4e99b077d60 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 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/testing.yml b/.forgejo/workflows/testing.yml index f73b8a1..d824862 100644 --- a/.forgejo/workflows/testing.yml +++ b/.forgejo/workflows/testing.yml @@ -14,11 +14,9 @@ jobs: with: python-version: '3.11' cache: 'pip' - - name: Install needed python modules - working-directory: core - run: cd core && pip3 install -r requirements.prod.txt + cache-dependency-path: 'core/requirements.prod.txt' - name: Run django tests - working-directory: core + working-directory: /workspace/c3lf/c3lf-system-3/core run: python3 -m manage.py test deploy: