This is my stage for tests in gitlab-ci.yml:
gitlab-ci.yml
tests: stage: tests before_script: - killall \"Simulator\" || true script: - bundle