Cypress + Docker + GitLabCI = ❤️
Running your Cypress E2E tests on GitLab CI is very simple. You can either start with a base image or with an image that already includes Cypress tool.
You can also find GitLab CI (and other CIs) example in cypress-example-kitchensink.
You can derive your custom CI image from
cypress/base and install
cypress
. Here is a typical .gitlab-ci.yml
file
image: cypress/base:10
cypress-e2e:
script:
- npm install
- $(npm bin)/cypress run
See .gitlab-ci.yml for more realistic setup with caching and parallel jobs
See Cypress Continuous Integration documentation for more information.
If you find problems with Cypress and CI, please
- consult the documentation
- ask in our Gitter channel
- find an existing issue or open a new one