Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ updates:
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "uv"
directory: "/"
schedule:
interval: "weekly"
13 changes: 5 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
name: Build and publish to PyPI
on: push
env:
UV_PYTHON_DOWNLOADS: never
jobs:
build:
name: Build distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3"
- name: Install "build"
run: |
python -m pip install build
- uses: astral-sh/setup-uv@v7
- name: Build a binary wheel and a source tarball
run: python -m build
run: |
uv build
- name: Store the distribution packages
uses: actions/upload-artifact@v6
with:
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Run Tests
on: [push, pull_request]
env:
UV_PYTHON_DOWNLOADS: never
UV_NO_DEV: 1
PYTEST_ADDOPTS: "--color=yes"
jobs:
tests:
Expand Down Expand Up @@ -43,15 +44,13 @@ jobs:
run: |
jackd --no-realtime -d dummy &
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install Python package
- uses: astral-sh/setup-uv@v7
- name: Install (editable) Python package
run: |
uv sync --locked
uv run jack_build.py
uv run --locked jack_build.py
- name: Run tests
run: |
uv run pytest
uv run --group test pytest

docs:
runs-on: ubuntu-latest
Expand Down