Relative Content

Tag Archive for pytestgoogle-cloud-build

Google cloud build doesn’t detect the variables passed in the pytest command but it works on local

I’m using pytest for my test execution, and I’m seeing a peculiar issue – when I run the tests locally, all the variables I pass in are sent to the test. When I run the same test on google cloud build, the same variables are printed as the $names of the variables instead. I see that I could be wrong about the way I’m currently using the scope for my fixtures but I am not able to pinpoint it. Can someone help me to figure out where am I making a mistake?