Hey all. I have a very basic python app that I’m testing with to get the CI working. I have a gitlab-ci.yml file that contains the following which runs on a windows gitlab runner.
- conda env create -f environment.yml
- activate scraper-worker
- python -m pytest
It creates the environment ok, but as soon as the the environment is activated it just prints out: Job succeeded, and it never runs pytest, it just finishes.
If I comment out the activate scraper-worker line then pytest will run, but it fails obviously because the environment isn’t active. Any idea what I’ve got wrong here?
Just as an FYI. I have tried doing the environment setup and activation in a before_script, but again, same thing. Env gets built and activated but the test never runs.