Skip to content

Commit 47846f9

Browse files
authored
Merge branch 'main' into xv-quickstart-01-glitches
2 parents 4d0ea82 + 60a7c8e commit 47846f9

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/build.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,16 @@ jobs:
2424
uses: actions/setup-python@v6
2525
with:
2626
python-version: "3.10"
27+
- name: Install uv
28+
uses: astral-sh/setup-uv@v3
29+
with:
30+
version: "latest"
2731
- name: Install dependencies
2832
run: |
29-
python -m pip install --upgrade pip
30-
pip install setuptools wheel tox
33+
uv sync --extra=dev
3134
- name: Run Autoformatter
3235
run: |
33-
tox -e ruff
36+
uv run tox -e ruff
3437
statusResult=$(git status -u --porcelain)
3538
if [ -z "$statusResult" ]
3639
then
@@ -41,7 +44,7 @@ jobs:
4144
fi
4245
- name: Run Linter
4346
run: |
44-
tox -e flake8
47+
uv run tox -e flake8
4548
4649
build:
4750
needs: lint
@@ -56,19 +59,16 @@ jobs:
5659
uses: actions/setup-python@v6
5760
with:
5861
python-version: ${{ matrix.python_ver }}
62+
- name: Install uv
63+
uses: astral-sh/setup-uv@v3
64+
with:
65+
version: "latest"
5966
- name: Install dependencies
6067
run: |
61-
python -m pip install --upgrade pip
62-
pip install setuptools wheel tox
63-
- name: Install package and test dependencies
64-
run: |
65-
pip cache purge
66-
pip install --upgrade pip setuptools wheel
67-
pip install -e .
68-
pip install -e .[test]
68+
uv sync --extra test --extra dev
6969
- name: Check Typing
7070
run: |
71-
tox -e type
71+
uv run tox -e type
7272
- name: Run Tests
7373
run: |
74-
tox -e pytest
74+
uv run tox -e pytest

0 commit comments

Comments
 (0)