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

Install the project editable to avoid ambiguity that pytest dislikes

parent cc72370d
No related branches found
No related tags found
No related merge requests found
Pipeline #483647 passed
......@@ -64,6 +64,10 @@ jobs:
- name: "Main Script"
run: |
curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project-within-miniconda.sh
# pytest gets angry when 'import pytato.array' may come
# from both the project file and the venv. This matters
# because of doctest collection.
PROJECT_INSTALL_FLAGS="--editable"
. ./build-and-test-py-project-within-miniconda.sh
examples:
......
......@@ -4,6 +4,10 @@ Python 3 POCL:
- export PYOPENCL_TEST=portable:pthread
- export EXTRA_INSTALL="pyopencl mpi4py jax[cpu]"
- curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project.sh
# pytest gets angry when 'import pytato.array' may come
# from both the project file and the venv. This matters
# because of doctest collection.
- 'PROJECT_INSTALL_FLAGS="--editable"'
- ". ./build-and-test-py-project.sh"
tags:
- python3
......
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