From 3346f8bd156aa8ce70fc2bae901ad2cd8e378c0e 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 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/testing.yml b/.forgejo/workflows/testing.yml index f73b8a1..3301aa0 100644 --- a/.forgejo/workflows/testing.yml +++ b/.forgejo/workflows/testing.yml @@ -11,12 +11,11 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 + working-directory: core 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: 'requirements.prod.txt' - name: Run django tests working-directory: core run: python3 -m manage.py test