diff --git a/.github/workflows/cygwin-test.yml b/.github/workflows/cygwin-test.yml index 3ed1c4348..bf5deecc7 100644 --- a/.github/workflows/cygwin-test.yml +++ b/.github/workflows/cygwin-test.yml @@ -7,6 +7,9 @@ jobs: runs-on: windows-latest strategy: + matrix: + cygwin-python: [python39, python312] + fail-fast: false env: @@ -30,7 +33,7 @@ jobs: - name: Set up Cygwin uses: egor-tensin/setup-cygwin@v4 with: - packages: python39 python39-pip python39-virtualenv git + packages: ${{ matrix.cygwin-python }} ${{ matrix.cygwin-python }}-pip ${{ matrix.cygwin-python }}-virtualenv git - name: Arrange for verbose output run: | @@ -57,7 +60,7 @@ jobs: - name: Set up virtualenv run: | - python -m venv .venv + ${{ matrix.cygwin-python }} -m venv .venv echo 'BASH_ENV=.venv/bin/activate' >>"$GITHUB_ENV" - name: Update PyPA packages