Parallelism setting does not seem to work?

paralellism

#1

The parallelism setting mentioned in Why aren't my 2.0 tests using parallel containers? does not seem to be working for us.

Example config…

version: 2
executorType: machine
stages:
  build:
    working_directory: ~/project-name
    parallelism: 2
    steps:
      - checkout
...

Any idea why that might be?


#2

@WillGibson The config example you give is using old-style syntax for 2.0.

You can update .circleci/config.yml to not include stages - see: https://circleci.com/docs/2.0/configuration-reference/

Or you can use the word parallel instead of paralllelism if you wish to stick with the old style config syntax.

Our recommendation would be to update to new style syntax. The stages syntax was part of the very early beta.


#3

Thanks @tom, That seems to have done the trick :slight_smile:


#4

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.