I am working on a project. I need to create a workflow to run integration tests on an iOS device.
Scenario:I've to run a local server at some port and in parallel I've run integration tests.
Query:
- Can I achieve this in Github Actions?
- If yes then how?
I'll be thankful for the help.
Best Answer
There's no built in solution for parallel steps at the moment.
Workarounds:
- Run your server in the background (
server &
). Or as a daemon if it has it built in. - If it's a container you can use
jobs.<job_id>.services
- https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idservices
If you would like to have this feature you can try voting on this feedback thing: https://github.com/github-community/community/discussions/14484