Hi,
I'm using Bitbucket Cloud to run the tests of an nx project.
When `max-parallel` is set to a value higher than 1, the pipeline times out. It seems as if Bitbucket doesn't notice that the command has finished. When I set max-parallel to 1, it works.
Here's my yml file:
image: node:16
options:
max-time: 20 # configure default 20 minute timeout
pipelines:
pull-requests:
'**':
- step:
name: 'Lint, test, and build'
caches:
- node
script:
- npm ci
- npx nx workspace-lint
- npx nx format:check
- npx nx affected --target=lint --base=origin/master --parallel --max-parallel=3
- npx nx affected --target=test --base=origin/master --parallel --max-parallel=1 --ci --code-coverage
- npx nx affected --target=build --base=origin/master --head=HEAD --parallel --max-parallel=3
When changing `max-parallel` in the second to last line to "3", the pipeline won't finish. When running it locally on my machine, it finishes just fine. Any thoughts?