cabforum / build-guidelines-action

Action to build Pandoc-flavored Guidelines into their final form
0 stars 3 forks source link

Fix test non-determinism for real #13

Closed sleevi closed 3 years ago

sleevi commented 3 years ago

Rather than relying on output to both stdout and stderr to be sequenced, using "set -x", output the commands to stdout using echo. Running with a pseudo-tty in the test is another option, but rather than having spooky-action-from-a-flag, have a consistent flow.

For more details on this, including minimized test cases, see https://github.com/moby/moby/issues/31706 and https://github.com/moby/moby/issues/26986

Fixes https://github.com/cabforum/build-guidelines-action/issues/11