name: Test on Windows

on:
  push:
    branches: ["dev_v1"]

  pull_request:
    branches: ["main"]


jobs:
  test_wind:

    runs-on: windows-latest
    strategy:
      fail-fast: false

      matrix:
        python-version: ['3.10', '3.11', '3.12']

    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 dependencies
        run: |
          python -m pip install --upgrade pip
          pip install -r requirements.txt

      - name: Test with pytest
        run: pytest
