From 3960fdc679755cf8542c46dc4be22dd89504faf6 Mon Sep 17 00:00:00 2001 From: Pablo Moreno Date: Thu, 19 Mar 2026 17:51:56 +0100 Subject: [PATCH] fix: github tests --- .github/workflows/runtests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/runtests.yml b/.github/workflows/runtests.yml index a21330d..7ed119b 100644 --- a/.github/workflows/runtests.yml +++ b/.github/workflows/runtests.yml @@ -15,12 +15,12 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Setup dependencies - run: pip install uv && uv pip install --system -r pyproject.toml + run: pip install uv - name: Run tests env: DJANGO_SETTINGS_MODULE: config.settings DEBUG: True - run: uv run pytest --cov --junitxml=junit.xml -o junit_family=legacy && coverage xml + run: uv venv && uv run manage.py collectstatic && uv run pytest --cov --junitxml=junit.xml -o junit_family=legacy && coverage xml - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4.0.1 with: