From ee35b6e5dc14c62553ff620a3a7163a7ce22ac66 Mon Sep 17 00:00:00 2001 From: "J. L. Garrido-Labrador" Date: Tue, 12 Nov 2024 09:32:27 +0100 Subject: [PATCH] Workflow doc --- .github/workflows/docs.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 72b1614..e950f9c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,13 +21,15 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.11' # ADJUST THIS: install all dependencies (including pdoc) - run: python -m pip install --upgrade pip - run: python -m pip install pdoc - run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - run: python -m pip install scikit-learn==1.2 + - run: python -p pip install -U pip setuptools + - run: pip install wheel + - run: python -m pip install https://files.pythonhosted.org/packages/4c/64/a1e6e92b850b39200c82e3bc54d556b2c634b3904c39ac5cdb10b1c5765f/scikit_learn-1.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - run: python -m pip install numpy==1.26.4 # ADJUST THIS: build your documentation into docs/. # We use a custom build script for pdoc itself, ideally you just run `pdoc -o docs/ ...` here.