Skip to content
Snippets Groups Projects
Commit a2069cda authored by Andreas Klöckner's avatar Andreas Klöckner Committed by Andreas Klöckner
Browse files

Refactor example runner CI scripts, including nbconvert installation

parent a49f5b31
No related branches found
No related tags found
No related merge requests found
Pipeline #272741 failed
File moved
......@@ -95,16 +95,16 @@ jobs:
- uses: actions/checkout@v2
- name: "Main Script"
run: |
EXTRA_INSTALL="matplotlib ipykernel nbconvert"
curl -L -O https://tiker.net/ci-support-v0
. ./ci-support-v0
build_py_project_in_conda_env
conda install matplotlib ipykernel nbconvert
install_ispc
export PYOPENCL_TEST=portable:pthread
. ./build-py-project-and-run-examples.sh
. ./.ci/examples-funcs.sh
run_py_examples
run_ipynb_examples
run_floopy_examples
......
......@@ -112,16 +112,16 @@ Pytest POCL Examples:
stage: test
script: |
export PYOPENCL_TEST=portable:pthread
export EXTRA_INSTALL="pybind11 numpy mako pyvisfile matplotlib ipykernel nbconvert"
export EXTRA_INSTALL="pybind11 numpy mako"
curl -L -O https://tiker.net/ci-support-v0
. ./ci-support-v0
build_py_project_in_venv
pip install matplotlib ipykernel nbconvert
install_ispc
. ./build-py-project-and-run-examples.sh
. ./.ci/examples-funcs.sh
run_py_examples
run_ipynb_examples
run_floopy_examples
......
- arg: extension-pkg-whitelist
val: islpy
- arg: ignore
val: compyte
val:
- compyte
- arg: ignored-modules
val:
- IPython
- pycuda
- maptlotlib
- maptlotlib.pyplot
- arg: init-hook
val: sys.setrecursionlimit(5000)
......@@ -11,8 +11,3 @@ dependencies:
- mako
- pyopencl
- islpy
# Only needed to make pylint succeed
- matplotlib-base
- ipykernel
- ply
......@@ -973,7 +973,7 @@ def test_diamond_tiling(ctx_factory, interactive=False):
knl(queue, u=u_dev, dx=dx, dt=dx)
u = u_dev.get()
import matplotlib.pyplot as plt
import matplotlib.pyplot as plt # pylint: disable=import-error
plt.imshow(u.T)
plt.show()
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment