diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 1ab8aa7..3df14d5 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -9,10 +9,15 @@ on: jobs: build: - runs-on: ubuntu-latest strategy: matrix: + os: [ubuntu-latest, windows-latest] python-version: ["3.10", "3.11", "3.12"] + include: + - os: ubuntu-latest + python-version: "3.12" + deploy-gh-pages: true + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 @@ -39,7 +44,7 @@ jobs: make docs - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.python-version == '3.11' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.deploy-gh-pages }} with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }}