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

Windows CI must be red when tests fail. #971

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Windows CI must be red when tests fail. #971

merged 1 commit into from
Feb 21, 2024

Conversation

1uc
Copy link
Collaborator

@1uc 1uc commented Feb 21, 2024

@1uc 1uc marked this pull request as ready for review February 21, 2024 08:53
@1uc
Copy link
Collaborator Author

1uc commented Feb 21, 2024

This is failing intentionally. It demonstrates that now all groups of tests fail, as they should. We'll rebase just the CI fixes on top of the main branch, after review.

The issue is that `bash -l {0}` seems to turn off the `set -e` behaviour
we see in the other pipelines. Simply asking for `bash`, leads to every
ctest invocation failing with an exit code (even tests that are know to
succeed).

Therefore, we put one test per stage of the pipeline, this ensures its
exit code is relevant for success/failure of the pipeline.
Copy link

codecov bot commented Feb 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5244490) 85.45% compared to head (c70bd58) 85.45%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #971   +/-   ##
=======================================
  Coverage   85.45%   85.45%           
=======================================
  Files          92       92           
  Lines        5787     5787           
=======================================
  Hits         4945     4945           
  Misses        842      842           

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

@1uc 1uc merged commit e54d176 into master Feb 21, 2024
36 checks passed
@1uc 1uc deleted the 1uc/fix-windows-ci branch February 21, 2024 09:24
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