From 7e681350e5a2f29a003d030e28b94a5cd2fc7c90 Mon Sep 17 00:00:00 2001 From: Dan Watson Date: Mon, 4 Nov 2024 22:15:05 -0500 Subject: [PATCH] Specify Django version when running uv --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b3cd1d..04d640e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,9 +45,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Setup uv uses: astral-sh/setup-uv@v3 - - name: Install Django - run: uv pip install "Django~=${{ matrix.django-version }}" - name: Run Tests (PostgreSQL) - run: uv run manage.py test + run: uv run --with "Django~=${{ matrix.django-version }}" manage.py test - name: Run Tests (SQLite) - run: TEST_ENGINE=sqlite uv run manage.py test + run: TEST_ENGINE=sqlite uv run --with "Django~=${{ matrix.django-version }}" manage.py test