Help with spinning up a Container in CI for testing

Hey hey hey. I need assistance with how to setup CI to install some code in a docker container and then run one command and then report back to gitlab the results of the test. I cannot seem to figure this out, but it can’t be that hard.