Skip to content

Commit 6ccf261

Browse files
authored
chore: add ci to test sphinx builds (#12116)
Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>
1 parent ccd0c33 commit 6ccf261

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: KFP Readthedocs Release Readiness
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
paths:
8+
- api/**
9+
- sdk/**
10+
- kubernetes_platform/**
11+
- .github/workflows/readthedocs-builds.yml
12+
- .readthedocs.yml
13+
14+
jobs:
15+
test-readthedocs-builds:
16+
runs-on: ubuntu-24.04
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v4
20+
21+
- name: Set up Python
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: "3.10"
25+
26+
- name: Install Dependencies
27+
run: |
28+
pip install -r docs/sdk/requirements.txt
29+
30+
- name: Build KFP SDK Docs
31+
working-directory: docs/sdk
32+
run: |
33+
sphinx-build -b html . _build/html
34+
35+
- name: Build KFP Kubernetes SDK Docs
36+
working-directory: kubernetes_platform/python/docs
37+
run: |
38+
sphinx-build -b html . _build/html
39+
40+
- name: Test K8s platform release script
41+
working-directory: kubernetes_platform/python
42+
run: |
43+
KFP_KUBERNETES_VERSION=$(python -c 'from kfp.kubernetes.__init__ import __version__; print(__version__)')
44+
source create_release_branch.sh

0 commit comments

Comments
 (0)