diff --git a/.github/workflows/tests-win.yml b/.github/workflows/tests-win.yml new file mode 100644 index 00000000..8ecb04b0 --- /dev/null +++ b/.github/workflows/tests-win.yml @@ -0,0 +1,30 @@ +name: Run Sumatra tests on Windows + +on: [push, pull_request] + +jobs: + + test_minimal: # run tests with minimal installation + strategy: + matrix: + os: [windows-latest] + python-version: ["3.11", "3.13"] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install + run: | + python -m pip install --upgrade pip + pip install .[hg,git,test] + pip freeze + - name: Configure git + run: | + git config --global user.email "testuser@example.org" + git config --global user.name "Test user" + - name: Test with pytest + run: | + pytest -v diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cecdbe46..f615d6f7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,4 @@ -name: Run Sumatra tests +name: Run Sumatra tests on Linux, Mac OS on: [push, pull_request]