Skip to content

Commit

Permalink
Use uv to speedup tests on CI (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Aug 31, 2024
2 parents 90fadde + 8108c23 commit 4eb5a0b
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 4eb5a0b

Please sign in to comment.