Skip to content

Commit 592339c

Browse files
committed
fix macos e2e test
1 parent 26a178a commit 592339c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,10 @@ jobs:
218218
cd "$target_dir"
219219
set -x
220220
221-
command_output="$(open ./Browsers.app -W --stdout $(tty) --stderr $(tty) --args --no-gui https://browsers.software)"
221+
touch ./output_file
222+
open ./Browsers.app -W --stdout output_file --stderr output_file --args --no-gui https://browsers.software
223+
224+
command_output=`cat ./output_file`
222225
echo "$command_output"
223226
224227
if "$command_output" | grep -q 'Safari'; then

0 commit comments

Comments
 (0)