Skip to content

Commit fcd9e04

Browse files
committed
docs: detail how to run action locally via the Docker container
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
1 parent 9e113da commit fcd9e04

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,3 +201,13 @@ The easiest way to exclude a single job is via the `name` parameter:
201201
]
202202
}
203203
```
204+
205+
## Testing matrix generation locally using Docker
206+
207+
To test matrix generation in a local checkout on your own machine, you can do the following:
208+
209+
```bash
210+
$ docker run -v $(realpath .):/github/workspace -w=/github/workspace ghcr.io/laminas/laminas-ci-matrix:1
211+
```
212+
213+
This will run the action locally and detail what matrix will be produced; it can be particularly useful for debugging issues with your `.laminas-ci.json` configuration.

0 commit comments

Comments
 (0)