mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-11 08:55:27 +03:00
🌱 update CI-Tests e2e to reflect 30 commits (#3676)
14f864bfea
not only fixed the --commit-depth option,
but also fixed the default commit depth for GitLab repos. Previously GitLab repos looked
back 20 commits because that was GitLab's default for the commits API. Now, GitLab repos
look back 30 commits, so the proportions of this e2e test changed.
Signed-off-by: Spencer Schrock <sschrock@google.com>
This commit is contained in:
parent
6541b0d2fd
commit
ea626de830
@ -121,13 +121,13 @@ var _ = Describe("E2E TEST:"+checks.CheckCITests, func() {
|
||||
}
|
||||
expected := scut.TestReturn{
|
||||
Error: nil,
|
||||
Score: 8,
|
||||
Score: 6,
|
||||
NumberOfWarn: 0,
|
||||
NumberOfInfo: 0,
|
||||
NumberOfDebug: 13,
|
||||
NumberOfDebug: 22,
|
||||
}
|
||||
result := checks.CITests(&req)
|
||||
Expect(result.Score).Should(BeNumerically("==", expected.Score))
|
||||
Expect(scut.ValidateTestReturn(nil, "CI tests at commit - GitLab", &expected, &result, &dl)).Should(BeTrue())
|
||||
Expect(result.Error).Should(BeNil())
|
||||
Expect(repoClient.Close()).Should(BeNil())
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user