gitlab-ci
How can I test gitlab-ci.yml?
For the record: You can also copy paste your gitlab-ci.yml into the linter-form provided by gitlab: Depending on which IDE you are using you might be able to find plugins that check for validity. For example in VS Code you can use a plugin called gitlab-vscode-extension which can validate your .gitlab-ci.yml file. In case you … Read more
Use GitLab CI to run tests locally?
Since a few months ago this is possible using gitlab-runner: gitlab-runner exec docker my-job-name Note that you need both docker and gitlab-runner installed on your computer to get this working. You also need the image key defined in your .gitlab-ci.yml file. Otherwise won’t work. Here’s the line I currently use for testing locally using gitlab-runner: … Read more