I have a Python application with Pytests (unit tests). The Pytests should be executed and when a test does not succeed, the buildstep should stop and fail. The Python application + tests are in a Github repo. On every build, the code from the repo is pulled and the tests are run. Very simple and that works so far.
I want to put this build step into a docker container but I don't know how to do that. The documentation didn't help me.
Advice would be very welcome.