act icon indicating copy to clipboard operation
act copied to clipboard

Feature request: specify matrix on command line

Open dobesv opened this issue 5 years ago • 9 comments
trafficstars

For matrix builds, it would be nice if I could limit the build to a subset (or just one) matrix option value for a build.

e.g.

act --job build --matrix java:13

my current workaround is to just edit the workflows file to remove the other matrix options before running act, which works fine but isn't ideal.

dobesv avatar Feb 28 '20 19:02 dobesv

Issue is stale and will be closed in 7 days unless there is new activity

github-actions[bot] avatar Apr 29 '20 00:04 github-actions[bot]

Issue is stale and will be closed in 7 days unless there is new activity

github-actions[bot] avatar Jun 29 '20 00:06 github-actions[bot]

Issue is stale and will be closed in 7 days unless there is new activity

github-actions[bot] avatar Aug 29 '20 00:08 github-actions[bot]

Is this actually done? I can't seem to find how to do it.

Julian avatar Mar 31 '21 18:03 Julian

@Julian it wasn't implemented

catthehacker avatar Mar 31 '21 18:03 catthehacker

Got it, thanks for the confirmation I wasn't missing it.

Julian avatar Mar 31 '21 18:03 Julian

This would be a handy feature.

My workflow as matrix of 5 node versions to test against and when running locally act seems to spin them all up in parallel and my system drops to a crawl.

Being able to specify matrix items to run or at least how many containers at most to spin up at the same time would make this useable again.

codeandcats avatar Apr 24 '21 06:04 codeandcats

+1 for this being a useful feature - often there's a CI problem with a specific matrix combination. Having to run all of them slows down development. Being able to specify the matrix variables on the command line as overrides would allow for a might tighter focus.

m-mcgowan avatar Jun 15 '22 22:06 m-mcgowan

just edit the workflows file to remove the other matrix options before running act

Handy workaround at least!

johnboiles avatar Oct 21 '22 23:10 johnboiles