Skip to content

Commit da3b3b0

Browse files
committed
Fix Windows test command
1 parent 93af1c8 commit da3b3b0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Build and upload to PyPI
22

33
on:
44
push:
5-
branches:
6-
- master
7-
- numpy2
85
release:
96
types:
107
- published
@@ -117,6 +114,12 @@ jobs:
117114
cp -r {project}/data tmp_test_dir/data
118115
cd tmp_test_dir
119116
pytest
117+
CIBW_TEST_COMMAND_WINDOWS: |
118+
mkdir tmp_test_dir
119+
xcopy /E /I /Y stochastic_arrow\test tmp_test_dir\test
120+
xcopy /E /I /Y stochastic_arrow\data tmp_test_dir\data
121+
cd tmp_test_dir
122+
pytest
120123
CIBW_ENVIRONMENT: USE_CYTHON=1
121124
uses: pypa/[email protected]
122125

0 commit comments

Comments
 (0)