Skip to content

Commit 08462c7

Browse files
committed
docs-common.yml: Add testing.sh.
1 parent a04a7e2 commit 08462c7

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.github/workflows/docs-common.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,13 @@ jobs:
7676
else
7777
cd doc && ./build_docs -b ${PWD}/_build -c
7878
fi
79+
80+
# TODO: Split testing.sh tests into their own steps in this job
81+
- name: Text Sphinx builds with omnibus script
82+
if: success() || failure()
83+
run: |
84+
if ${{ inputs.use_conda }}; then
85+
cd doc && conda run -n ${{ inputs.conda_env_name }} ./testing.sh
86+
else
87+
cd doc && ./testing.sh
88+
fi

.github/workflows/docs-ctsm_pylib.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ on:
66
branches: ['*']
77
paths:
88
- 'python/conda_env_ctsm_py.txt'
9+
- '.github/workflows/docs-common.yml'
910

1011
pull_request:
1112
# Run on pull requests that change the listed files
1213
paths:
1314
- 'python/conda_env_ctsm_py.txt'
15+
- '.github/workflows/docs-common.yml'
1416

1517
schedule:
1618
# 8 am every Monday UTC

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- '!doc/*ChangeLog*'
1111
- '!doc/*ChangeSum*'
1212
- '!doc/UpdateChangelog.pl'
13+
- '.github/workflows/docs-common.yml'
1314

1415
pull_request:
1516
# Run on pull requests that change the listed files
@@ -18,6 +19,7 @@ on:
1819
- '!doc/*ChangeLog*'
1920
- '!doc/*ChangeSum*'
2021
- '!doc/UpdateChangelog.pl'
22+
- '.github/workflows/docs-common.yml'
2123

2224
workflow_dispatch:
2325

0 commit comments

Comments
 (0)