Skip to content

Commit 8d20d9f

Browse files
committed
Update to use uv
1 parent de2f69a commit 8d20d9f

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "pip"
8+
- package-ecosystem: "uv"
99
directory: "/" # Location of package manifests
1010
schedule:
1111
interval: "daily"

.github/workflows/tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@ jobs:
1111
python-version: ['3.10', '3.11', '3.12']
1212

1313
steps:
14+
- name: Install uv
15+
uses: astral-sh/setup-uv@v7
1416
- uses: actions/checkout@v3
1517
- name: Set up Python ${{ matrix.python-version }}
1618
uses: actions/setup-python@v2
1719
with:
1820
python-version: ${{ matrix.python-version }}
1921
- name: Install dependencies
2022
run: |
21-
python -m pip install --upgrade pip
22-
pip install flake8 pytest cython
23-
python -m pip install -e .
23+
uv install pytest cython
24+
uv pip install -e .
2425
- name: Test with pytest
2526
run: |
2627
pytest tests/

0 commit comments

Comments
 (0)