Skip to content

Run test on Windows #46

Run test on Windows

Run test on Windows #46

Workflow file for this run

name: "Run test on Windows"
on:
workflow_dispatch:
push:
paths:
- "src/**"
- "test/**"
- "CMakeLists.txt"
pull_request:
paths:
- "src/**"
- "test/**"
- "CMakeLists.txt"
jobs:
run-test:
name: "run Windows tests"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
os: ["windows-latest"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install pyyjson
run: |
mkdir build
cd build
cmake ..
cmake --build . --config Debug
copy Debug\pyyjson.dll .\pyyjson.pyd
- name: run tests
id: tests
run: |
set PYTHONPATH=".\build"
python test\all_test.py --ignore bench