Skip to content

Commit

Permalink
Fix Windows test command
Browse files Browse the repository at this point in the history
  • Loading branch information
thalassemia committed Dec 5, 2024
1 parent 93af1c8 commit da3b3b0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Build and upload to PyPI

on:
push:
branches:
- master
- numpy2
release:
types:
- published
Expand Down Expand Up @@ -117,6 +114,12 @@ jobs:
cp -r {project}/data tmp_test_dir/data
cd tmp_test_dir
pytest
CIBW_TEST_COMMAND_WINDOWS: |
mkdir tmp_test_dir
xcopy /E /I /Y stochastic_arrow\test tmp_test_dir\test
xcopy /E /I /Y stochastic_arrow\data tmp_test_dir\data
cd tmp_test_dir
pytest
CIBW_ENVIRONMENT: USE_CYTHON=1
uses: pypa/[email protected]

Expand Down

0 comments on commit da3b3b0

Please sign in to comment.