Skip to content

Require scikit-learn 1.6.0 #1514

Require scikit-learn 1.6.0

Require scikit-learn 1.6.0 #1514

Workflow file for this run

name: Tox
on: [push, pull_request]
jobs:
linting_and_docs:
runs-on: ubuntu-latest
name: Linting and Docs
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Install third-party tools
run: |
sudo apt-get install cmake libenchant-2-dev
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install pandoc
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Tox
run: python -m pip install tox
- name: Run Tox
env:
RUFF_OUTPUT_FORMAT: github
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
tox run -e ${{ matrix.tox_env }}
- name: Archive documentation
uses: actions/upload-artifact@v4
with:
name: documentation
path: doc/_build/html
if: ${{ matrix.tox_env == 'docs' }}
- name: Print debug information
run: cat .tox/${{ matrix.tox_env }}/log/*.log
if: ${{ failure() }}
strategy:
fail-fast: false
matrix:
tox_env: [lint, docs]