Skip to content

Commit

Permalink
Specify Django version when running uv
Browse files Browse the repository at this point in the history
  • Loading branch information
dcwatson committed Nov 5, 2024
1 parent c145e4f commit 7e68135
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7e68135

Please sign in to comment.