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

ci: exclude Samba vendor and mock files from TiCS scan #995

Merged
merged 1 commit into from
May 13, 2024

Conversation

GabrielNagy
Copy link
Contributor

These are either vendored files or mocks used in tests, they should not impact the TiCS coverage report.

Part of UDENG-2759 (still need to handle the Samba auto-update workflow)

@GabrielNagy GabrielNagy requested a review from a team as a code owner May 13, 2024 12:52
These are either vendored files or mocks used in tests, they should not
impact the TiCS coverage report.
@GabrielNagy GabrielNagy force-pushed the exclude-samba-files-from-tics branch from 4637418 to 99b3255 Compare May 13, 2024 13:22
Copy link
Member

@didrocks didrocks left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.78%. Comparing base (81da8b4) to head (99b3255).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #995   +/-   ##
=======================================
  Coverage   90.78%   90.78%           
=======================================
  Files          78       78           
  Lines        6890     6890           
=======================================
  Hits         6255     6255           
  Misses        621      621           
  Partials       14       14           

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

@GabrielNagy GabrielNagy merged commit 5a82095 into main May 13, 2024
4 checks passed
@GabrielNagy GabrielNagy deleted the exclude-samba-files-from-tics branch May 13, 2024 13:45
GabrielNagy added a commit that referenced this pull request May 13, 2024
We already updated the vendored files in #995, however these are
generated by our weekly Samba auto-patch workflow. The simplest way to
ensure these comments aren't lost on the next workflow run is to add a
patch responsible for adding them.

A manual run of the workflow steps reports no changes to the files in
internal/policies/ which is what we want.
GabrielNagy added a commit that referenced this pull request May 13, 2024
We already updated the vendored files in #995, however these are
generated by our weekly Samba auto-patch workflow. The simplest way to
ensure these comments aren't lost on the next workflow run is to add a
patch responsible for adding them.

A manual run of the workflow steps reports no changes to the files in
`internal/policies/` which is what we want.

Fixes UDENG-2759
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.

3 participants