Skip to main content

Overview

Spur integrates with GitLab CI/CD to run your test plans automatically on merge requests. The setup follows the same pattern as the GitHub integration — connect GitLab from Spur, configure your test plans, and add the generated pipeline files to your repository.

What you get

Automated test execution

Test plans run automatically on every merge request without manual intervention.

MR status checks

Pass/fail results appear directly on your merge requests.

Deployment quality gate

Tests run right before deployment, catching issues before they reach production.

Branch protection

Prevent merging merge requests with failing tests using GitLab’s protected branch rules.

Setup

1

Go to Integrations

Open the Integrations page in your Spur dashboard and connect GitLab.
2

Configure your integration

Once connected, select which test plans should run as part of your CI/CD pipeline and configure your settings.
3

Add pipeline files to your repository

Download the generated pipeline configuration and add it to your repository’s .gitlab-ci.yml file.
4

Save changes

Click Save Changes to finalize your integration. From this point, Spur will run your selected test plans automatically on every merge request.
For GitLab-specific setup instructions, reach out to the Spur team for guidance on configuring your .gitlab-ci.yml file.

Testing deploy previews

Need to test against a feature branch URL or dynamic environment? Use Override URLs to redirect tests at runtime without changing your environment settings.