Skip to content

Commit

Permalink
Test with tox-uv (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Oct 23, 2024
1 parent 190af19 commit efd5258
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
permissions:
contents: read

env:
FORCE_COLOR: 1

jobs:
build:
if: github.repository_owner == 'jazzband'
Expand All @@ -36,7 +39,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -U build twine wheel
python -m pip install -U build twine
- name: Build package
run: |
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: pip

- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -U tox
- name: Install uv
uses: hynek/setup-cached-uv@v2

- name: Tox tests
run: |
tox -e py
uvx --with tox-uv tox -e py
- name: Upload coverage
uses: codecov/codecov-action@v3.1.5
Expand Down

0 comments on commit efd5258

Please sign in to comment.