Skip to content

Commit

Permalink
GitHub Actions on uv
Browse files Browse the repository at this point in the history
  • Loading branch information
dyve committed Nov 29, 2024
1 parent 5e1d9ea commit 1aac5a5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,16 @@ jobs:
- uses: actions/checkout@v4
- name: Update repositories
run: sudo apt-get update
- name: Install the latest version of uv and set the python version
uses: astral-sh/setup-uv@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: requirements-test.txt
- run: python -m pip install -r requirements-test.txt
- run: python -m pip install -U Django==${{ matrix.django-version }}
if: matrix.django-version != 'main'
- run: python -m pip install -U https://github.com/django/django/archive/master.tar.gz
Expand Down

0 comments on commit 1aac5a5

Please sign in to comment.