Skip to content

Commit

Permalink
Add other OS's, disable concurrent builds
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Dec 7, 2023
1 parent 04f2e81 commit e322aeb
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
schedule: [ cron: '20 16 * * 6' ]
workflow_call:


# Disallow parallel runs
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}"
cancel-in-progress: true

jobs:
lint:
# Disable liniting for now
Expand Down Expand Up @@ -37,15 +43,16 @@ jobs:

test:
name: Test
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
# When bumping, note to revise env.TEST_WITH_COVERAGE below
os: [ "ubuntu-20.04", "ubuntu-22.04", "macos-latest", "windows-latest" ]
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
scikit-version: [ "1.1.3", "1.2.2", "1.3.2" ]

env:
TEST_WITH_COVERAGE: ${{ matrix.python-version == '3.11' && matrix.scikit-version == '1.3.2' }}
TEST_WITH_COVERAGE: ${{ matrix.python-version == '3.11' && matrix.scikit-version == '1.3.2' && matrix.os == 'ubuntu-22.04' }}

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down

0 comments on commit e322aeb

Please sign in to comment.