[CI] Improve Docs CI Efficiency (#3587)
Co-authored-by: zhaochenyang20 <zhaochen20@outlook.com>
This commit is contained in:
3
.github/workflows/execute-notebook.yml
vendored
3
.github/workflows/execute-notebook.yml
vendored
@@ -36,6 +36,9 @@ jobs:
|
||||
run: |
|
||||
bash scripts/ci_install_dependency.sh
|
||||
pip install -r docs/requirements.txt
|
||||
apt-get update
|
||||
apt-get install -y pandoc
|
||||
apt-get update && apt-get install -y parallel
|
||||
|
||||
- name: Setup Jupyter Kernel
|
||||
run: |
|
||||
|
||||
4
.github/workflows/pr-test.yml
vendored
4
.github/workflows/pr-test.yml
vendored
@@ -8,6 +8,7 @@ on:
|
||||
- "python/sglang/**"
|
||||
- "test/**"
|
||||
- "docs/**"
|
||||
- "scripts/**"
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
paths:
|
||||
@@ -15,6 +16,7 @@ on:
|
||||
- "python/sglang/**"
|
||||
- "test/**"
|
||||
- "docs/**"
|
||||
- "scripts/**"
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
@@ -45,6 +47,8 @@ jobs:
|
||||
filters: |
|
||||
docs:
|
||||
- 'docs/**'
|
||||
scripts:
|
||||
- 'scripts/**'
|
||||
sglang:
|
||||
- 'python/sglang/**'
|
||||
test:
|
||||
|
||||
1
.github/workflows/release-docs.yml
vendored
1
.github/workflows/release-docs.yml
vendored
@@ -32,6 +32,7 @@ jobs:
|
||||
pip install -r docs/requirements.txt
|
||||
apt-get update
|
||||
apt-get install -y pandoc
|
||||
apt-get update && apt-get install -y parallel
|
||||
|
||||
- name: Setup Jupyter Kernel
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user