Skip to content

Commit 415b62f

Browse files
committed
Add run test step on windows
1 parent 5034217 commit 415b62f

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,22 @@ jobs:
2929
path: |
3030
build/mingw-release/install
3131
python.3.13.0
32+
test:
33+
name: "Run tests on Windows"
34+
runs-on: windows-latest
35+
needs: build
36+
37+
steps:
38+
- name: Download build artifacts
39+
uses: actions/download-artifact@v4
40+
- name: Execute tests
41+
run: |
42+
dir
43+
$Env:PATH = "$PWD/python.3.13.0/tools;$Env:PATH"
44+
cd build/mingw-release/install
45+
bin/tests.exe
46+
python --version
47+
python -m venv venv
48+
venv/Scripts/activate
49+
pip install numpy pytest
50+
pytest --junitxml pytest_result.xml

0 commit comments

Comments
 (0)