Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 update GitLab CI-Tests e2e to reflect 30 commits #3676

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

spencerschrock
Copy link
Contributor

Follow up test fix from #3672, which 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.

What kind of change does this PR introduce?

(Is it a bug fix, feature, docs update, something else?)

What is the current behavior?

the test was written when 20 commits were analyzed, but #3672 made it so 30 commits are analyzed

What is the new behavior (if this is a feature change)?**

e2e test values reflect 30 commits

  • Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes

Special notes for your reviewer

Does this PR introduce a user-facing change?

For user-facing changes, please add a concise, human-readable release note to
the release-note

(In particular, describe what changes users might need to make in their
application as a result of this pull request.)


14f864b 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>
Copy link

codecov bot commented Nov 15, 2023

Codecov Report

Merging #3676 (42551db) into main (6541b0d) will decrease coverage by 6.88%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3676      +/-   ##
==========================================
- Coverage   74.98%   68.10%   -6.88%     
==========================================
  Files         205      205              
  Lines       14042    14042              
==========================================
- Hits        10529     9564     -965     
- Misses       2906     3930    +1024     
+ Partials      607      548      -59     

@spencerschrock spencerschrock enabled auto-merge (squash) November 15, 2023 18:28
@spencerschrock spencerschrock merged commit ea626de into ossf:main Nov 15, 2023
38 checks passed
@spencerschrock spencerschrock deleted the fix/commit-depth-e2e-test branch November 15, 2023 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants