I have the following build configuration in my
config.yml file for CircleCI:
- run: name: Start API command: | . dq/bin/activate python3 api/run.py background: true - run: name: Run Tests command: | . dq/bin/activate nose2 --plugin nose2.plugins.junitxml --junit-xml -v
Basically I want to start my API with the command
python3 api/run.py so that I can run my test in the following steps (tests are sending http requests to the API).
background: true option does not seem to work as expected. The API starts but my build freezes and does not go to the following step.
Am I doing anything wrong?
Note that I have also posted the question on Stack Overflow here: