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

pkg/tarutil: use testdata and a bit of test coverage #2860

Merged
merged 2 commits into from
Jan 20, 2024

Conversation

binjip978
Copy link
Contributor

No description provided.

testdata ignored by go tool

Signed-off-by: Siarhiej Siemianczuk <pdp.eleven11@gmail.com>
Copy link

codecov bot commented Jan 18, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (25faeb4) 75.68% compared to head (6dbcf76) 75.70%.

Files Patch % Lines
pkg/tarutil/tar.go 25.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2860      +/-   ##
==========================================
+ Coverage   75.68%   75.70%   +0.02%     
==========================================
  Files         425      425              
  Lines       42836    42832       -4     
==========================================
+ Hits        32419    32425       +6     
+ Misses      10417    10407      -10     
Flag Coverage Δ
.-amd64 67.87% <ø> (ø)
cmds/...-amd64 71.48% <ø> (+0.05%) ⬆️
integration/generic-tests/...-amd64 0.00% <ø> (ø)
integration/generic-tests/...-arm 0.00% <ø> (ø)
integration/generic-tests/...-arm64 0.00% <ø> (ø)
integration/gotests/...-amd64 73.98% <ø> (-0.01%) ⬇️
integration/gotests/...-arm 75.20% <ø> (ø)
integration/gotests/...-arm64 74.93% <ø> (ø)
pkg/...-amd64 76.14% <25.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

pkg/tarutil/tar.go Outdated Show resolved Hide resolved
pkg/tarutil/tar.go Show resolved Hide resolved
pkg/tarutil/tar.go Show resolved Hide resolved
rminnich
rminnich previously approved these changes Jan 19, 2024
@rminnich rminnich added the Awaiting author Waiting for new changes or feedback for author. label Jan 19, 2024
alter one test to not recurse and verbose filtering, remove two filters
NoFilter is the same as not empty list, wrapping errors

Signed-off-by: Siarhiej Siemianczuk <pdp.eleven11@gmail.com>
@binjip978 binjip978 added Awaiting reviewer Waiting for a reviewer. and removed Awaiting author Waiting for new changes or feedback for author. labels Jan 19, 2024
@binjip978 binjip978 merged commit 5e702f0 into u-root:main Jan 20, 2024
25 of 26 checks passed
@binjip978 binjip978 deleted the tarutil branch January 20, 2024 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting reviewer Waiting for a reviewer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants