Skip to content

Commit ee6dd14

Browse files
committed
Keep re-dist. tests uv-free, simulating downstream
1 parent c2b6553 commit ee6dd14

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/test-redistribute.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
# Issue ref: https://github.com/actions/setup-python/issues/436
2626
# cache: "pip"
2727
# cache-dependency-path: pyproject.toml
28-
- name: Install uv
29-
uses: astral-sh/setup-uv@v7
28+
- name: Install build dependencies
29+
run: pip install build
3030
- name: Build source distribution
31-
run: uv build --sdist
31+
run: python -m build --sdist
3232
- name: Decompress source distribution
3333
run: |
3434
cd dist

scripts/lint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
set -e
44
set -x
55

6-
uv run mypy src tests
7-
uv run ruff check src tests scripts
8-
uv run ruff format src tests --check
6+
mypy src tests
7+
ruff check src tests scripts
8+
ruff format src tests --check

scripts/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
set -e
44
set -x
55

6-
uv run coverage run -m pytest tests ${@}
6+
coverage run -m pytest tests ${@}

0 commit comments

Comments
 (0)