mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-07 16:13:23 +08:00
action test
This commit is contained in:
parent
410f1317ab
commit
311c17a4b1
@ -449,9 +449,6 @@ def pytest() -> None:
|
|||||||
print('PATH IS', sys.path)
|
print('PATH IS', sys.path)
|
||||||
print('CWD IS', os.getcwd())
|
print('CWD IS', os.getcwd())
|
||||||
|
|
||||||
subprocess.run([PYTHON_BIN, '-c', 'import sys; print("FOOO", sys.path)'],
|
|
||||||
check=True)
|
|
||||||
|
|
||||||
# Grab our python paths for the project and stuff them in PYTHONPATH.
|
# Grab our python paths for the project and stuff them in PYTHONPATH.
|
||||||
pypaths = get_config(PROJROOT).get('python_paths')
|
pypaths = get_config(PROJROOT).get('python_paths')
|
||||||
if pypaths is None:
|
if pypaths is None:
|
||||||
@ -463,6 +460,9 @@ def pytest() -> None:
|
|||||||
]
|
]
|
||||||
|
|
||||||
os.environ['PYTHONPATH'] = ':'.join(pypaths)
|
os.environ['PYTHONPATH'] = ':'.join(pypaths)
|
||||||
|
subprocess.run([PYTHON_BIN, '-c', 'import sys; print("FOOO", sys.path)'],
|
||||||
|
check=True)
|
||||||
|
|
||||||
print('SET VAL TO', ':'.join(pypaths), flush=True)
|
print('SET VAL TO', ':'.join(pypaths), flush=True)
|
||||||
|
|
||||||
# Also tell Python interpreters not to write __pycache__ dirs everywhere
|
# Also tell Python interpreters not to write __pycache__ dirs everywhere
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user