Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
Power System Simulation and Optimization
DPsim
DPsim
Commits
fd0f085d
Commit
fd0f085d
authored
Jul 09, 2019
by
Steffen Vogel
🎅🏼
Browse files
ci: build jupyter notebooks via pytest not cmake
parent
4aa9d535
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
fd0f085d
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment