Skip to content
Advertisement

Getting an error “pytest: command not found” while running a Python test from CircleCI

I am trying to learn CircleCI but must say, finding it very difficult to use. I am trying to run my Selenium project code written in Python language but getting pytest: command not found error. I have mentioned the PyTest installation in my requirement.txt file, I also tried to install the PyTest by running the below command but still getting the same error.

JavaScript

Here is my config.yml file

JavaScript

Error is

JavaScript

It must be some basic mistake but tried a lot and am now stuck. Any help is appreciated. Thanks

Advertisement

Answer

Finally was able to run my code in CircleCI. Posting my config.yml here in case someone else needs help. Thanks, @jortega for trying to help, appreciate your effort.

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement