This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: collect coverage information also for "operator API"
Those tests cover a significant chunk of code, so we want to include that. The problem was that the reference files for "deploy" get modified when enabling coverage collection, which broke the API tests. Now we generate and embed a second set of "nocoverage" files for those tests.
- Loading branch information
Showing
4 changed files
with
37 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,8 +70,13 @@ pipeline { | |
TEST_ETCD_VOLUME_SIZE = "1073741824" // 1GB | ||
|
||
// Tests that will get skipped when collecting coverage information. | ||
// The operator tests fail because the reference files get modified. | ||
COVERAGE_SKIP = "[email protected]" | ||
// | ||
// The operator itself installs without enabling coverage collection, | ||
// so running those tests doesn't help us. The relevant test is | ||
// "operator API". | ||
// | ||
// Testing with OLM doesn't add much additional coverage. | ||
COVERAGE_SKIP = "[email protected]@Top.Level..olm" | ||
} | ||
|
||
stages { | ||
|
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
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