From becf8d8a48e3232f1c3782fa6f1b8e6da058d70b Mon Sep 17 00:00:00 2001 From: Heiko Thiery Date: Tue, 16 Apr 2024 16:25:46 +0200 Subject: [PATCH] .github: add OS windows and macos Change matrix with OS variants. With that the action now runs also on ubuntu (ubuntu-22.04, ubuntu-20.04), macos (macos-13, macos-12, macos-11) and windows (windows-2022, windows-2019). Signed-off-by: Heiko Thiery --- .github/workflows/python-package.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 48de05a..7e78f7d 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -8,12 +8,13 @@ on: jobs: build: - runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: python-version: ["3.9", "3.10", "3.11", "3.12"] + os: [ubuntu-22.04, ubuntu-20.04, macos-13, macos-12, macos-11, windows-2022, windows-2019] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: Set up Python $${{ matrix.python-version }}