Skip to content

Commit

Permalink
Run pytest on macos in GH actions, update OS
Browse files Browse the repository at this point in the history
  • Loading branch information
reuterbal committed Mar 26, 2024
1 parent 023b46b commit 49be046
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,36 @@ on:

jobs:
pytest:
name: Python ${{ matrix.python-version }}
name: pytest

runs-on: ubuntu-20.04
strategy:
fail-fast: false # false: try to complete all jobs
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
name:
- linux python-3.8
- linux python-3.9
- linux python-3.10
- linux python-3.11
- macos python-3.11

include:
- name: linux python-3.8
os: ubuntu-22.04
python-version: 3.8
- name: linux python-3.9
os: ubuntu-22.04
python-version: 3.9
- name: linux python-3.10
os: ubuntu-22.04
python-version: 3.10
- name: linux python-3.11
os: ubuntu-22.04
python-version: 3.11
- name: macos python-3.11
os: macos-14
python-version: 3.11

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 49be046

Please sign in to comment.