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 7b3d070
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 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,16 @@ jobs:
cp -r {project}/data tmp_test_dir/data
cd tmp_test_dir
pytest
CIBW_TEST_COMMAND_WINDOWS: |
echo "Starting tests on Windows"
mkdir tmp_test_dir
echo "Copying test directory"
xcopy /E /I /Y stochastic_arrow\test tmp_test_dir\test
echo "Copying data directory"
xcopy /E /I /Y stochastic_arrow\data tmp_test_dir\data
cd tmp_test_dir
echo "Running pytest on Windows"
pytest -v
CIBW_ENVIRONMENT: USE_CYTHON=1
uses: pypa/[email protected]

Expand Down

0 comments on commit 7b3d070

Please sign in to comment.