File tree Expand file tree Collapse file tree 4 files changed +25
-3
lines changed Expand file tree Collapse file tree 4 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -219,6 +219,13 @@ jobs:
219219 ${{ env.STK_CONTAINER }} /bin/bash -c \
220220 "export COVERAGE_FILE=vgt && tox -e tests-vgt-graphics-cov-linux"
221221
222+ - name : " Run the doc snippet tests"
223+ run : |
224+ docker exec \
225+ --workdir ${{ env.PYSTK_DIR }} \
226+ ${{ env.STK_CONTAINER }} /bin/bash -c \
227+ "export COVERAGE_FILE=snippets && tox -e tests-snippets-graphics-cov-linux"
228+
222229 - name : " Install coverage dependencies"
223230 if : ${{ matrix.python == env.MAIN_PYTHON_VERSION }}
224231 run : |
@@ -233,7 +240,7 @@ jobs:
233240 docker exec \
234241 --workdir ${{ env.PYSTK_DIR }} \
235242 ${{ env.STK_CONTAINER }} /bin/bash -c \
236- "coverage combine aviator stknogfx stkgfx vgt"
243+ "coverage combine aviator stknogfx stkgfx vgt snippets "
237244
238245 - name : " Generate total coverage report"
239246 if : ${{ matrix.python == env.MAIN_PYTHON_VERSION }}
Original file line number Diff line number Diff line change @@ -400,6 +400,13 @@ jobs:
400400 ${{ env.STK_CONTAINER }} /bin/bash -c \
401401 "export COVERAGE_FILE=vgt && tox -e tests-vgt-graphics-cov-linux"
402402
403+ - name : " Run the doc snippet tests"
404+ run : |
405+ docker exec \
406+ --workdir ${{ env.PYSTK_DIR }} \
407+ ${{ env.STK_CONTAINER }} /bin/bash -c \
408+ "export COVERAGE_FILE=snippets && tox -e tests-snippets-graphics-cov-linux"
409+
403410 - name : " Install coverage dependencies"
404411 if : ${{ matrix.python == env.MINIMUM_PYTHON_VERSION }}
405412 run : |
@@ -414,7 +421,7 @@ jobs:
414421 docker exec \
415422 --workdir ${{ env.PYSTK_DIR }} \
416423 ${{ env.STK_CONTAINER }} /bin/bash -c \
417- "coverage combine aviator stknogfx stkgfx vgt"
424+ "coverage combine aviator stknogfx stkgfx vgt snippets "
418425
419426 - name : " Generate total coverage report"
420427 if : ${{ matrix.python == env.MINIMUM_PYTHON_VERSION }}
Original file line number Diff line number Diff line change @@ -205,6 +205,13 @@ jobs:
205205 ${{ env.STK_CONTAINER }} /bin/bash -c \
206206 "export COVERAGE_FILE=vgt && tox -e tests-vgt-graphics-cov-linux"
207207
208+ - name : " Run the doc snippet tests"
209+ run : |
210+ docker exec \
211+ --workdir ${{ env.PYSTK_DIR }} \
212+ ${{ env.STK_CONTAINER }} /bin/bash -c \
213+ "export COVERAGE_FILE=snippets && tox -e tests-snippets-graphics-cov-linux"
214+
208215 - name : " Install coverage dependencies"
209216 if : ${{ matrix.python == env.MAIN_PYTHON_VERSION }}
210217 run : |
@@ -219,7 +226,7 @@ jobs:
219226 docker exec \
220227 --workdir ${{ env.PYSTK_DIR }} \
221228 ${{ env.STK_CONTAINER }} /bin/bash -c \
222- "coverage combine aviator stk vgt"
229+ "coverage combine aviator stk vgt snippets "
223230
224231 - name : " Generate total coverage report"
225232 if : ${{ matrix.python == env.MAIN_PYTHON_VERSION }}
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ setenv =
5151 aviator: PYTEST_PYTHON_FILES = ./tests/generated/aviator_tests
5252 stk: PYTEST_PYTHON_FILES = ./tests/generated/stk_tests
5353 vgt: PYTEST_PYTHON_FILES = ./tests/generated/vgt_tests
54+ snippets: PYTEST_PYTHON_FILES = ./tests/doc_snippets_tests
5455usedevelop = true
5556extras =
5657 tests
You can’t perform that action at this time.
0 commit comments