Skip to content

Commit dbda8b5

Browse files
committed
fix(ci): do no run tests on wheel in sdist tests
there's a race condition in the workflow that allows test_sdist tests to run with wheels present in the dist folder which will fail.
1 parent e2b42dd commit dbda8b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jobs:
181181
SKBUILD_CONFIGURE_OPTIONS: "-DBUILD_CMAKE_FROM_SOURCE:BOOL=OFF"
182182
run: |
183183
pip install dist/*.tar.gz
184-
rm dist/*.tar.gz
184+
rm dist/*.tar.gz dist/*.whl
185185
186186
- name: Test installed SDist
187187
run: pytest ./tests

0 commit comments

Comments
 (0)