Skip to content

Commit

Permalink
Use uv for tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Aug 31, 2024
1 parent 90fadde commit 8108c23
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: pip

- name: Install uv
uses: hynek/setup-cached-uv@v2

- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -U tox
uv pip install --system -U tox-uv
- name: Tox tests
run: |
Expand All @@ -45,7 +46,7 @@ jobs:
- name: Test emojis.json is up-to-date
run: |
# Install
python -m pip install -e .
uv pip install --system -e .
# Regenerate
python scripts/despacify.py
# Fail if different
Expand Down

0 comments on commit 8108c23

Please sign in to comment.