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

fix(ci): always run capybara, even when ref is not found #1630

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

wdconinc
Copy link
Contributor

Briefly, what does this PR introduce?

When, for some reason, the reference artifacts on main are not available (typically recovering from a failing main), then we don't generate capybara output and the build-docs job fails when trying to merge the capy files. E.g. https://github.com/eic/EICrecon/actions/runs/11282255676/job/31379983435. There is no gracious "don't fail when you can't merge anything" option.

This PR ensures that we always have capy files generated, even when we don't actually have a reference to compare to. The only thing that will be included if there are is reference is the new file. That's still useful information to plot.

What kind of change does this PR introduce?

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

No.

Does this PR change default behavior?

No.

Copy link
Member

@veprbl veprbl left a comment

Choose a reason for hiding this comment

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

This should work

@veprbl veprbl added this pull request to the merge queue Oct 11, 2024
Merged via the queue into main with commit fa98bba Oct 11, 2024
84 of 86 checks passed
@veprbl veprbl deleted the capybara-forever branch October 11, 2024 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants