Skip to content

Commit

Permalink
.github: add OS windows and macos
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
hthiery authored and mwalle committed Apr 16, 2024
1 parent 0aa7ee0 commit becf8d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit becf8d8

Please sign in to comment.