FIX Allow values less than 1 for the gamma param of spectral clustering #8214
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow to build the documentation | |
name: Documentation builder | |
on: | |
push: | |
branches: | |
- main | |
# Release branches | |
- "[0-9]+.[0-9]+.X" | |
pull_request: | |
branches: | |
- main | |
- "[0-9]+.[0-9]+.X" | |
jobs: | |
# Build the documentation against the minimum version of the dependencies | |
doc-min-dependencies: | |
# This prevents this workflow from running on a fork. | |
# To test this workflow on a fork, uncomment the following line. | |
if: github.repository == 'scikit-learn/scikit-learn' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout scikit-learn | |
uses: actions/checkout@v2 | |
with: | |
# needed by build_doc.sh to compute the list of changed doc files: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
- name: Build documentation | |
run: bash build_tools/github/build_doc.sh | |
env: | |
OMP_NUM_THREADS: 2 | |
MKL_NUM_THREADS: 2 | |
CONDA_ENV_NAME: testenv | |
LOCK_FILE: build_tools/github/doc_min_dependencies_linux-64_conda.lock | |
- name: Upload documentation | |
uses: actions/upload-artifact@v2 | |
with: | |
name: doc-min-dependencies | |
path: doc/_build/html/stable | |
# Build the documentation against the latest version of the dependencies | |
doc: | |
# This prevents this workflow from running on a fork. | |
# To test this workflow on a fork, uncomment the following line. | |
if: github.repository == 'scikit-learn/scikit-learn' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout scikit-learn | |
uses: actions/checkout@v2 | |
with: | |
# needed by build_doc.sh to compute the list of changed doc files: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
- name: Build documentation | |
run: bash build_tools/github/build_doc.sh | |
env: | |
OMP_NUM_THREADS: 2 | |
MKL_NUM_THREADS: 2 | |
CONDA_ENV_NAME: testenv | |
LOCK_FILE: build_tools/github/doc_linux-64_conda.lock | |
- name: Upload documentation | |
uses: actions/upload-artifact@v2 | |
with: | |
name: doc | |
path: doc/_build/html/stable |