-
Notifications
You must be signed in to change notification settings - Fork 814
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] do not run integration tests if not relevant (#2791)
This PR tries to avoid running a integration test for an agent check (and only this, core integration tests, linter and core mocked tests are always run) when it is not required. To do this, we first lists all modified files, and then - check if a check file was modified (in `checks.d`) - check if a check test file was modified - ignore fixtures and configuration If any file other than the one listed above are modified, all tests will be run. Otherwise, a list of modfied checks is built, and only these tests will be run (with the core tests). This only concerns Travis and is disabled on Appveyor.
- Loading branch information
Showing
2 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters