Skip to content

Fix make test silently passing when pytest fails#208

Merged
alessiodevoto merged 1 commit intomainfrom
aledev/fix-ci-silent-failure
Apr 8, 2026
Merged

Fix make test silently passing when pytest fails#208
alessiodevoto merged 1 commit intomainfrom
aledev/fix-ci-silent-failure

Conversation

@alessiodevoto
Copy link
Copy Markdown
Collaborator

Fix make test silently passing when pytest fails

This PR fixes #207 by adding -o pipefail to the shell, that makes the pipe return pytest's exit code directly, regardless of the failure mode.

Signed-off-by: alessiodevoto <adevoto@nvidia.com>
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Apr 8, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@alessiodevoto
Copy link
Copy Markdown
Collaborator Author

/ok to test 994d51a

@alessiodevoto
Copy link
Copy Markdown
Collaborator Author

Ok this is working, tests failed (as they should) due the import error.

@alessiodevoto alessiodevoto merged commit b900a39 into main Apr 8, 2026
2 of 3 checks passed
@alessiodevoto alessiodevoto deleted the aledev/fix-ci-silent-failure branch April 8, 2026 12:00
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.

Tests failing silently

2 participants