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:
I'll be thankful for the help.
There's no built in solution for parallel steps at the moment.
Workarounds:
server &). Or as a daemon if it has it built in.jobs.<job_id>.services
If you would like to have this feature you can try voting on this feedback thing: https://github.com/github-community/community/discussions/14484
Just found an Github action to achieve run steps in parallel. You just configure steps as usual but the will run in parallel.
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: qoomon/actions--parallel-steps@v1
id: parallel-steps
with:
steps: |
- run: actions/checkout@v4
- run: echo Step1
- uses: actions/github-script@v7
id: greetings
with:
script: |
const recipient = 'world'
console.log(`Hello ${recipient}!`)
core.setOutput('recipient', recipient)
# access parallel steps outputs
- run: echo Hello $RECIPIENT
env:
RECIPIENT: ${{ steps.parallel-steps.outputs.greetings-recipient }}
https://github.com/qoomon/actions--parallel-steps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With