File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ jobs:
290
290
runs-on : ubuntu-latest
291
291
strategy :
292
292
matrix :
293
- target : [ci_test_examples, ci_test_api_documentation ]
293
+ target : [ci_test_examples, ci_test_build_documentation ]
294
294
steps :
295
295
- name : Harden Runner
296
296
uses : step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
Original file line number Diff line number Diff line change @@ -1023,10 +1023,12 @@ add_custom_target(ci_test_examples
1023
1023
COMMENT "Check that all examples compile and create the desired output"
1024
1024
)
1025
1025
1026
- add_custom_target (ci_test_api_documentation
1027
- COMMAND ${Python3_EXECUTABLE} ../scripts/check_structure.py
1028
- WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} /docs/mkdocs/docs
1029
- COMMENT "Lint the API documentation"
1026
+ add_custom_target (ci_test_build_documentation
1027
+ COMMAND ${Python3_EXECUTABLE} -mvenv venv
1028
+ COMMAND venv/bin/pip3 install -r requirements.txt
1029
+ COMMAND make build
1030
+ WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} /docs/mkdocs
1031
+ COMMENT "Build the documentation"
1030
1032
)
1031
1033
1032
1034
###############################################################################
You can’t perform that action at this time.
0 commit comments