Skip to content

Commit

Permalink
ci: add Run Docs linkcheck stage
Browse files Browse the repository at this point in the history
  • Loading branch information
henryborchers committed Dec 2, 2024
1 parent 54a9c16 commit c35f7a8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions vars/runJenkinsPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,16 @@ def call(){
}
}
}
stage('Run Docs linkcheck'){
steps {
sh(
label: 'Running Sphinx docs linkcheck',
script: '''. ./venv/bin/activate
python -m sphinx -b doctest docs/source build/docs -d build/docs/doctrees --no-color --builder=linkcheck --fail-on-warning
'''
)
}
}
stage('Run MyPy Static Analysis') {
steps{
catchError(buildResult: 'SUCCESS', message: 'MyPy found issues', stageResult: 'UNSTABLE') {
Expand Down

0 comments on commit c35f7a8

Please sign in to comment.