Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Set an environment variable with current test #2583
When executing tests in CI, sometimes a test may hang indefinitely. One can look at the output using
If pytest would set a specific environment variable with the test it is executing, one can use a process monitoring library like
The implementation should be trivial and can be really helpful when diagnosing CI problems.