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

Split running ctest and pytest #153

Merged
merged 2 commits into from
Aug 26, 2024

Conversation

marbre
Copy link
Collaborator

@marbre marbre commented Aug 26, 2024

No description provided.

@marbre marbre force-pushed the libshortfin-split-ctest-pytest branch 2 times, most recently from e2484f4 to 9841eab Compare August 26, 2024 21:12
Comment on lines 163 to 164
# TOOD: Stop continuing on error after tests got fixed
continue-on-error: true
Copy link
Member

Choose a reason for hiding this comment

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

Another pattern for this is here: https://github.com/nod-ai/sharktank/blob/46b34c9df417c034ff64a598e7968ec420eb2175/.github/workflows/ci.yaml#L60-L68

That's also a bit buggy though - if the setup steps fail, the test steps will try to run.

You can be explicit and give jobs names, then allow running a step based on the conclusion of that step. See https://stackoverflow.com/a/75123818

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for the pointer, that was what I was looking for! For simplicity using !cancelled() for now and improve robustness in a follow up.

@marbre marbre force-pushed the libshortfin-split-ctest-pytest branch from 9841eab to 3247aec Compare August 26, 2024 21:42
@marbre marbre requested a review from ScottTodd August 26, 2024 21:46
@marbre marbre merged commit 7b11628 into nod-ai:main Aug 26, 2024
4 of 6 checks passed
@marbre marbre deleted the libshortfin-split-ctest-pytest branch August 26, 2024 21:53
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