mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 11:32:38 +02:00
chore: only build doc once in the CI
I've chosen to keep the one in the "lint" step, instead of a dedicated step, so to prevent one more container to be built at each run (did I say "to save trees" ?) :p
This commit is contained in:
parent
6530aaa794
commit
de3be9bb97
1 changed files with 1 additions and 16 deletions
17
.github/workflows/test-docs.yml
vendored
17
.github/workflows/test-docs.yml
vendored
|
@ -63,7 +63,7 @@ jobs:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.12'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install -e .[test,dev]
|
python3 -m pip install -e .[test,dev]
|
||||||
|
@ -74,18 +74,3 @@ jobs:
|
||||||
|
|
||||||
- name: Run Docs
|
- name: Run Docs
|
||||||
run: make docs
|
run: make docs
|
||||||
|
|
||||||
docs:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.11'
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
python3 -m pip install -r docs/requirements.txt
|
|
||||||
|
|
||||||
- name: Run Docs
|
|
||||||
run: mkdocs build
|
|
||||||
|
|
Loading…
Reference in a new issue