From 19fd7d219345ed21f773f2b4d3853659d38fe926 Mon Sep 17 00:00:00 2001 From: grossmj Date: Sat, 19 Oct 2024 16:22:29 +1000 Subject: [PATCH] Install Windows dependencies in GH Actions --- .github/workflows/testing.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 9d9013d3..9c282e9b 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -17,18 +17,12 @@ jobs: strategy: matrix: - os: [ubuntu-latest, windows-latest] + os: ubuntu-latest python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] - exclude: + include: # only test with Python 3.10 on Windows - os: windows-latest - python-version: "3.8" - - os: windows-latest - python-version: "3.9" - - os: windows-latest - python-version: "3.11" - - os: windows-latest - python-version: "3.12" + python-version: "3.10" steps: - uses: actions/checkout@v4 @@ -40,6 +34,12 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install -r dev-requirements.txt + + - name: Install Windows specific dependencies + if: runner.os == 'Windows' + run: | + python -m pip install -r win-requirements.txt + - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names