Skip to content
Snippets Groups Projects
Unverified Commit 46d41a23 authored by Ewoud Kohl van Wijngaarden's avatar Ewoud Kohl van Wijngaarden
Browse files

Run validation steps prior to the matrix build

puppetlabs_spec_helper provides a task called validate which runs all
static checks (syntax, lint, etc). If these fail, there isn't really any
reason why you would want to start a full matrix build. Similarly, it
also runs Rubocop prior to the matrix. Otherwise you just get a full
failed matrix. The end result is less wasted CI on invalid syntax or
style.

This is taken from Voxpupuli's modulesync_config.

It also unifies on "validate lint check rubocop". This does depend on
puppetlabs_spec_helper version 2.16.0 or newer (which introduced the
common `check` task).
parent 03daa92d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment