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

CI is passing Windows job even though the tests are failing #76

Open
aryanjassal opened this issue Dec 11, 2024 · 2 comments
Open

CI is passing Windows job even though the tests are failing #76

aryanjassal opened this issue Dec 11, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@aryanjassal
Copy link
Member

Describe the bug

Even though there are some failing tests on Windows, the CI doesn't actually fail the job, and considers the job as successful. This was only caught due to the CI also failing on a MacOS job, which was caught successfully.

To Reproduce

  1. Run the Windows CI on a commit which is known to not work with Windows
  2. Observe the log mentioning failed tests
  3. Observe the CI marking the job as successful

Expected behavior

If the Windows tests fail, then the job should reflect that by failing.

Screenshots

N.A.

Platform

  • Device: GitHub CI (js-rpc repo)
  • OS: Windows
  • Version: 0.6.3

Additional context

Notify maintainers

@brynblack

@aryanjassal aryanjassal added the bug Something isn't working label Dec 11, 2024
Copy link

linear bot commented Dec 11, 2024

@tegefaulkes
Copy link
Contributor

Something like this should be a simple fix. In Linux you can set a flag in a script so the whole script fails if any part of it exits with a code. I assume the same can be applied to windows as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants