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

Add NGF build information to test results #2353

Merged
merged 8 commits into from
Aug 8, 2024
Merged

Conversation

lucacome
Copy link
Member

@lucacome lucacome commented Aug 8, 2024

Proposed changes

Problem: We don't add the commit that was tested to the test results and we don't have a way to confirm that the correct version was tested.

Solution: Add build info to the tests results

Closes #2321

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes

If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.

NONE

Problem: We don't add the commit that was tested to the test results and
we don't have a way to confirm that the correct version was tested.

Solution: Add build info to the tests results
@lucacome lucacome requested a review from a team as a code owner August 8, 2024 16:50
@github-actions github-actions bot added the tests Pull requests that update tests label Aug 8, 2024
Copy link

codecov bot commented Aug 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.07%. Comparing base (caf413c) to head (c36ab36).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2353   +/-   ##
=======================================
  Coverage   88.07%   88.07%           
=======================================
  Files          97       97           
  Lines        6996     6996           
  Branches       50       50           
=======================================
  Hits         6162     6162           
  Misses        777      777           
  Partials       57       57           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

tests/framework/info.go Show resolved Hide resolved
tests/framework/info.go Show resolved Hide resolved
Copy link
Contributor

@salonichf5 salonichf5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@lucacome lucacome merged commit 2ed7d4a into main Aug 8, 2024
37 checks passed
@lucacome lucacome deleted the tests/add-buildinfo branch August 8, 2024 21:29
miledxz added a commit to miledxz/nginx-gateway-fabric that referenced this pull request Jan 14, 2025
Problem: We don't add the commit that was tested to the test results and
we don't have a way to confirm that the correct version was tested.

Solution: Add build info to the tests results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Pull requests that update tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add NGF build information to test results
4 participants