Bouni / python-luxtronik

python-luxtronik is a library that allow you to interact with a Luxtronik heatpump controller.
MIT License
37 stars 20 forks source link

pytest: Enable pipefail #106

Closed kbabioch closed 1 year ago

kbabioch commented 1 year ago

This enables the pipefail option as part of the pytest invocation in order to not suppress errors detected by pytest due to the piping into tee afterwards.

This addresses and closes #104.

kbabioch commented 1 year ago

This needs to be rebased on top of #108 before it can be merged, as #108 will fix the issues with the pipeline, while this pull request makes sure that any errors with pytest will make the pipeline fail in the future.

kbabioch commented 1 year ago

Lgtm! Just out of curiosity, wasn't the multiline version working?

No, somehow it was broken, since I have to issue multiple commands now (rather than a single command).