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

brio-gen: cleanup files produced by tests on test success #951

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

dolmen
Copy link
Contributor

@dolmen dolmen commented Jun 22, 2022

In tests of brio-gen, when a failure occurs (generated output changes) the new version is kept on disk. This is the existing behaviour.

With this patch we remove the new version if there is no difference (test success). This allows to automatically remove those temporary files that are useful only for debugging a test failure.

In tests of brio-gen, when a failure occurs (generated output changes)
the new version is kept on disk. This is the existing behaviour.

With this patch we remove the new version if there is no difference
(test success). This allows to automatically remove those temporary
files that are useful only for debugging a test failure.
@codecov-commenter
Copy link

Codecov Report

Merging #951 (37c2aed) into main (8c3e3fa) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #951   +/-   ##
=======================================
  Coverage   72.57%   72.57%           
=======================================
  Files         410      410           
  Lines       62067    62067           
=======================================
  Hits        45044    45044           
  Misses      14692    14692           
  Partials     2331     2331           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8c3e3fa...37c2aed. Read the comment docs.

Copy link
Member

@sbinet sbinet left a comment

Choose a reason for hiding this comment

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

LGTM

@sbinet sbinet merged commit 0c1ce51 into go-hep:main Jun 23, 2022
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