I may want to perform a series of steps (as parallel jobs) pertaining to a single matrix combination, though at the moment, matrix
is only available on a command
type step. I would like to be able to represent something like the following as well:
- group: {{matrix}}
matrix:
- darwin
- linux
- windows
env:
OS: {{matrix}}
steps:
# Assume these are expensive, yet parallelizable commands.
- command: parallel-command-1
- command: parallel-command-2
The desired outcome would be equivalent to two separate groups, though with less duplication of yaml. Also of note is the potential introduction of an env
attribute at the group level in the above example.