|
|
@ -23,9 +23,16 @@
|
|
|
|
when:
|
|
|
|
when:
|
|
|
|
- lout.python.version.full is version('2.7', '>=', strict=True)
|
|
|
|
- lout.python.version.full is version('2.7', '>=', strict=True)
|
|
|
|
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
- name: Check virtualenv was used
|
|
|
|
|
|
|
|
# On macOS runners a symlink /tmp -> /private/tmp has been seen
|
|
|
|
|
|
|
|
vars:
|
|
|
|
|
|
|
|
requested_executable: /tmp/issue_152_virtualenv/bin/python
|
|
|
|
|
|
|
|
expected_executables:
|
|
|
|
|
|
|
|
- "{{ requested_executable }}"
|
|
|
|
|
|
|
|
- "{{ requested_executable.replace('/tmp', out.fs['/tmp'].resolved) }}"
|
|
|
|
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
that:
|
|
|
|
- out.sys_executable == "/tmp/issue_152_virtualenv/bin/python"
|
|
|
|
- out.sys_executable in expected_executables
|
|
|
|
fail_msg: out={{out}}
|
|
|
|
fail_msg: out={{out}}
|
|
|
|
when:
|
|
|
|
when:
|
|
|
|
- lout.python.version.full is version('2.7', '>=', strict=True)
|
|
|
|
- lout.python.version.full is version('2.7', '>=', strict=True)
|
|
|
|