Reblog: GitLab CI with Behat

Recently, I blogged about GitLab CI and Behat for Sparks Interactive:

Getting up and running with GitLab's CI is simple, but figuring out the more technical details and how to keep things simple can take some time. If you are not yet familiar with GitLab CI, the docs would be a good place to start.

This example uses a basic Docker PHP image, shows you how to pull other repositories using a secret SSH key, change some PHP settings, install Composer, and then run Behat. We are not going to use MySQL to build an entire site, so Behat will be running against a persistent development site that sits elsewhere.

I go into some detail about how I've been constructing a .gitlab-ci.yml for use in running Behat tests internally and I share a few of my findings.