Commit ddaa80a0 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

ci: build jupyter notebooks via pytest not cmake

Former-commit-id: fd0f085d
parent f0cb8c48
......@@ -60,7 +60,6 @@ test:pytest:
- pytest -v Examples/Python/Circuits
- pytest -v Examples/Python/RealTime
#- pytest -v Examples/Python/Shmem
image: ${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV}
dependencies:
- build:linux
......@@ -116,22 +115,20 @@ build:docker:
only:
- tags
#test:jupyter:
# stage: test
# variables:
# PYTHONPATH: "build/Source/Python:Source/Python"
# script:
# - jupyter nbconvert --to notebook --execute Examples/Notebooks/Quickstart\ Guide.ipynb
# - jupyter nbconvert --to notebook --execute Examples/Notebooks/CS_R2CL.ipynb
# - jupyter nbconvert --to notebook --execute Examples/Notebooks/WSCC_9-bus_dyn_switch.ipynb
# image: ${DOCKER_IMAGE_DEV}:${DOCKER_TAG}
# dependencies:
# - build:linux
# artifacts:
# paths:
# - build/Examples/Notebooks/
# tags:
# - docker
test:jpuyter:
stage: test
variables:
PYTHONPATH: "build/Source/Python:Source/Python"
script:
- pytest -v Examples/Notebooks
image: ${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV}
dependencies:
- build:linux
tags:
- docker
artifacts:
paths:
- outputs/Examples/Notebooks/
deploy:docker:
stage: deploy
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment