Skip to content

Fix ignored github action failures#1

Open
Seth10001 wants to merge 1 commit intoantmicro:mainfrom
Seth10001:rbernardo/test-error
Open

Fix ignored github action failures#1
Seth10001 wants to merge 1 commit intoantmicro:mainfrom
Seth10001:rbernardo/test-error

Conversation

@Seth10001
Copy link
Copy Markdown

GitHub is reporting that my build has failed when there are robotframework errors. I believe this is because subprocess.run won't report a non-zero exit code and this causes the tests to pass.

So when it gets called here it returns an exit code of 0:
https://github.com/antmicro/renode-test-action/blob/9382fe730c6e399eb4af2616e16e27d790a4f793/src/run_renode_test.sh#L34

Example "passed" build: https://github.com/Solar-Gators/Sunrider-TelemetryFirmware-2022/actions/runs/3304505510/jobs/5453975572

subprocess.run won't report a non-zero return code and this causes the tests to pass
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.

1 participant