I cannot control parallelism on workflow

Hello guys,

I want to run some tests one at a time. but I cannot control parallelism on workflow.
My configuration is follows:

version: 2.0
jobs:
  build:
    docker:
      - image: circleci/golang
    steps:
      - checkout
      - run: make build

  test1:
    parallelism: 1
    docker:
      - image: ciecleci/golang
    steps:
      - checkout
      - run: make test1
     
  test2:
    parallelism: 1
    docker:
      - image: ciecleci/golang
    steps:
      - checkout
      - run: make test2

  test3:
    parallelism: 1
    docker:
      - image: ciecleci/golang
    steps:
      - checkout
      - run: make test3

  deploy:
    docker:
      - image: ciecleci/golang
    steps:
      - checkout
      - run: make deploy

workflows:
  version: 2
  build-test-and-deploy:
    jobs:
      - build
      - test1:
          requires:
            - build
      - test2:
          requires:
            - build
      - test3:
          requires:
            - build
      - deploy:
          requires:
            - test1
            - test2
            - test3

This configuration blocks test1,test2 and test3 until build job is finished. However, test1 and test2 are queued so that 2 jobs run at a once.
I don’t want to run sequentially because even if one test fails, I want to run all the tests.

thank you for your advice.

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