I am trying to run xcuitest for ios with a video recording but looks like command lines with ‘&’ was not able to run or display logs and simply return green check.
This is a command I run in a step.
xcodebuild test -project ... & sleep 4; xcrun simctl io booted recordVideo abc.mov & FOO_PID=$! kill -2 $FOO_PID
First line should be able to run the tests and recording the video. This works fine locally but not able to run github actions. Not sure if it is running or not, but no logs were displayed and green check was returned instantly.