Skip to content

Commit

Permalink
ci: Test with the 4 latest major versions of scikit-learn
Browse files Browse the repository at this point in the history
  • Loading branch information
thomass-dev committed Dec 11, 2024
1 parent 46d4f75 commit 1e08c6e
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions .github/workflows/skore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,38 @@ defaults:
jobs:
test-skore:
strategy:
fail-fast: true
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
python: ["3.9", "3.10", "3.11", "3.12"]
scikit-learn: ["1.6"]
include:
- os: "ubuntu-latest"
python: "3.12"
scikit-learn: "1.3"
- os: "ubuntu-latest"
python: "3.12"
scikit-learn: "1.4"
- os: "ubuntu-latest"
python: "3.12"
scikit-learn: "1.5"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ matrix.python }}
cache: "pip"
- name:
timeout-minutes: 10
run: |
set -u
# Install dependencies
python -m pip install --upgrade pip
python -m pip install --upgrade pre-commit
python -m pip install --upgrade build
python -m pip install --upgrade "pip"
python -m pip install --upgrade "pre-commit"
python -m pip install --upgrade "build"
python -m pip install --upgrade "scikit-learn ==${{ matrix.scikit-learn }}"
# Lint
pre-commit run --all-files ruff
Expand Down

0 comments on commit 1e08c6e

Please sign in to comment.