mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-28 10:03:15 +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('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.
|
||||
pypaths = get_config(PROJROOT).get('python_paths')
|
||||
if pypaths is None:
|
||||
@ -463,6 +460,9 @@ def pytest() -> None:
|
||||
]
|
||||
|
||||
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)
|
||||
|
||||
# Also tell Python interpreters not to write __pycache__ dirs everywhere
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user