From 77070ac79d3b4aae20aca5b0a230d99dd3653efa Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Sun, 15 Oct 2023 02:35:44 -0400 Subject: [PATCH] Run CI on more operating systems This expands the CI test matrix in the main testing workflow to test on both Ubuntu and Windows, instead of just Ubuntu. It does not attempt to merge in the Cygwin workflow at this time, which may or may not end up being useful to do in the future. The new Windows test jobs all fail currently: the runs fail as a result of various tests being consistently unable to pass but not yet being marked xfail (or skip). It should be feasible to mark these xfail with informative messages, but this commit doesn't include that. --- .github/workflows/pythonpackage.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 35fecf16c..95b12004c 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -10,18 +10,19 @@ permissions: jobs: build: - runs-on: ubuntu-latest - strategy: fail-fast: false matrix: + os: ["ubuntu-latest", "windows-latest"] python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] include: - experimental: false + runs-on: ${{ matrix.os }} + defaults: run: - shell: /bin/bash --noprofile --norc -exo pipefail {0} + shell: bash --noprofile --norc -exo pipefail {0} steps: - uses: actions/checkout@v4