cclauss / GitHub-Action-for-pytest

A GitHub Action to run a pytest command when new code is pushed into your repo
Apache License 2.0
53 stars 32 forks source link

Fails under macOS build environments due to GNU sed use. #4

Open amcgregor opened 2 years ago

amcgregor commented 2 years ago

Howdy!

Extraction of the test report fails under macOS build environments, seemly due to GNU/BSD differences in sed implementations…

sed -i 's/# Test Report/# Test Report/' report.md

With the error:

sed: -I or -i may not be used with stdin

Which doesn't make a whole lotta sense. 😕