Skip to content

Commit 089b386

Browse files
committed
Move python tests out of python so they don’t end up in the wheel
1 parent b545df6 commit 089b386

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

.github/workflows/python.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
version: "latest"
1717

1818
- name: Set up Python and install dependencies
19-
working-directory: python/tests
19+
working-directory: tests/python
2020
run: uv sync --project . --python 3.13
2121

2222
- name: Check code format
23-
working-directory: python/tests
24-
run: uv run --project . black --check ..
23+
working-directory: tests/python
24+
run: uv run --project . black --check ../..
2525

2626
build_wheels_quick:
2727
name: Build wheels for quick testing
@@ -83,20 +83,20 @@ jobs:
8383
merge-multiple: true
8484

8585
- name: Set up Python ${{ matrix.python-version }} and install dependencies
86-
working-directory: python/tests
86+
working-directory: tests/python
8787
run: uv sync --project . --python ${{ matrix.python-version }}
8888

8989
- name: Install NumPy ${{ matrix.numpy-version }}
90-
working-directory: python/tests
90+
working-directory: tests/python
9191
run: |
9292
uv pip install --project . --only-binary :all: numpy==${{ matrix.numpy-version }}
9393
9494
- name: Install manylinux wheel built for Python ${{ matrix.python-version }}
95-
working-directory: python/tests
95+
working-directory: tests/python
9696
run: uv pip install --project . ../../dist/*cp$(echo ${{ matrix.python-version }} | tr -d .)*.whl
9797

9898
- name: Run tests
99-
working-directory: python/tests
99+
working-directory: tests/python
100100
run: uv run --project . pytest
101101

102102
build_wheels_main:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)