Another manual parallel method

paralellism

#1

I have a test.sh script that can be called with various parameters, one or many.
Currently, I’m parallelising it like this:

test:
  override:
    - case $CIRCLE_NODE_INDEX in 0) ./test.sh unit ;; 1) ./test.sh integration ;; 2) ./test.sh local ;; 3) ./test.sh remote ;; esac:
        parallel: true

What I would like to do is something like:

test:
  override:
    - ./test.sh:
        parallel: true
        files:
          - unit
          - integration
          - local
          - remote

The problem is that the files section makes sure the entries are actual files.
What I want is a parameters (or whatever) parameter. It would be exactly like files, but without the globing and validating file existence.

That way, the same configuration will work for all parallelism modes (x1 … x4)


#2