File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,46 @@ build:site:
164164 - docs/**/* # all files under folder 'docs'
165165
166166
167+ .test_make : &test_make
168+ stage : tests
169+ script :
170+ - cd "${CI_PROJECT_DIR}/docs"
171+ - make ${COMMAND} 2>&1 | tee output
172+ - if [[ ! -z $(grep "ERROR" output) ]] ; then echo "Errors in the output" ; exit 21 ; fi
173+
174+ tests:release_notes :
175+ variables :
176+ COMMAND : update_release
177+ << : *test_make
178+ rules :
179+ - changes :
180+ - docs/release_notes.rst
181+
182+ tests:help :
183+ variables :
184+ COMMAND : update_help
185+ << : *test_make
186+ rules :
187+ - changes :
188+ - docs/glossar.rst
189+
190+ tests:pdf :
191+ variables :
192+ COMMAND : latexpdf
193+ << : *test_make
194+ rules :
195+ - changes :
196+ - docs/**/* # all files under folder 'docs'
197+
198+ tests:site :
199+ variables :
200+ COMMAND : html
201+ << : *test_make
202+ rules :
203+ - changes :
204+ - docs/**/* # all files under folder 'docs'
205+
206+
167207.run_test : &run_test
168208 stage : tests
169209 script :
You can’t perform that action at this time.
0 commit comments