Support to output the true command execute on the sandbox. #20292
Closed
hackrole
started this conversation in
Development
Replies: 1 comment 7 replies
-
Are you trying to run manually with
What is loading |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am stuck into pants now.
I have python project using pants.
It have following structure, as I think this is the most common structure pattern on python project.
We write test with
pytest
, and usingpytest-dotenv
to setup some environment for pytest to work, for example MYSQL_DB_HOST.My
agent/build
file look like this:But current the .test.env seems not load. I have save and enter the sandbox diretory. Run pytest in the sandbox with virtualenv is working. But the pants complains about the MYSQL_DB_HOST not defined. I am guess the problem is that pants run command in wrong directory or with wrong paramters. But I have no idea to figure out what exactly the pants run. This add too much difficulty on debug and fix issues.
I am sorry If I miss somthing in the doc. But I checkout the pants document without ways to do such things.
It will be nice to be able to see what the pants really execute.
Beta Was this translation helpful? Give feedback.
All reactions