mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
chore: run the CI even for PR not targetting master (and remove doc build twice) (#2504)
Replaces #2493
This commit is contained in:
commit
9c418afe37
1 changed files with 4 additions and 17 deletions
21
.github/workflows/test-docs.yml
vendored
21
.github/workflows/test-docs.yml
vendored
|
@ -4,7 +4,9 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
path:
|
||||||
|
- umap/*
|
||||||
|
- pyproject.toml
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
|
@ -61,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]
|
||||||
|
@ -72,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