Skip to content

Always install coverage even on tox fail - #440

Merged
Cadair merged 1 commit into
OpenAstronomy:mainfrom
Cadair:fix-fail-cov
Oct 27, 2026
Merged

Cadair merged 1 commit into
OpenAstronomy:mainfrom
Cadair:fix-fail-cov

Conversation

@Cadair

@Cadair Cadair commented Oct 27, 2026

Copy link
Copy Markdown
Member

When jobs failed, coverage was still being run but it hadn't been installed. See this job for an example: https://github.com/sunpy/sunpy/actions/runs/40345229418/job/121650382658?pr=8878

@Cadair

Cadair commented Oct 27, 2026

Copy link
Copy Markdown
Member Author

@neutrinoceros can you sanity check this for me?

@neutrinoceros neutrinoceros left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. I even learned the difference between always and success() || failure()

@Cadair
Cadair merged commit 3ad736c into OpenAstronomy:main Oct 27, 2026
88 of 90 checks passed
@Cadair
Cadair deleted the fix-fail-cov branch October 27, 2026 08:22
@Cadair Cadair mentioned this pull request Oct 27, 2026
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.

2 participants