Skip to content

Commit 2e32a35

Browse files
committed
Add PRECICE_TUTORIALS_NO_VENV to micro-manager component
1 parent 7285881 commit 2e32a35

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tools/tests/component-templates/micro-manager.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@ build:
55
- {{key}}={{value}}
66
{% endfor %}
77
target: micro_manager
8+
environment:
9+
- PRECICE_TUTORIALS_NO_VENV=1
810
depends_on:
911
prepare:
1012
condition: service_completed_successfully
1113
volumes:
1214
- {{ run_directory }}:/runs
1315
command: >
1416
/bin/bash -c "id &&
17+
([ -z \"$$PRECICE_TUTORIALS_NO_VENV\" ] || { python3 -c 'import precice' || { echo 'ERROR: PRECICE_TUTORIALS_NO_VENV set but precice not importable. Check Docker image.'; exit 1; }; }) &&
1518
cd '/runs/{{ tutorial_folder }}/{{ case_folder }}' &&
1619
{{ run }} | tee system-tests_{{ case_folder }}.log 2>&1"

0 commit comments

Comments
 (0)