Skip to content

[ENH] Unify fit_predict and fit_predict_with_data tools (#4) #6

[ENH] Unify fit_predict and fit_predict_with_data tools (#4)

[ENH] Unify fit_predict and fit_predict_with_data tools (#4) #6

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
- name: Install dev dependencies
run: pip install -e ".[dev]"
- name: Run ruff
run: ruff check .
- name: Run black
run: black --check .
test:
name: Test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Run tests
run: pytest tests/