diff --git a/README.md b/README.md index e348b9f..a1d37a2 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,10 @@ The image you want to run on. Default '"fedora"'. The tag of the container image to use. Default '"latest"'. +### `options` + +The options to pass to `tox`. For example `parallel`. Default '""'. (empty) + ## Example usage Here is a default configuration that tests your role on `namespace: robertdebock`, `image: fedora`, `tag: latest`. @@ -97,7 +101,8 @@ jobs: - name: molecule uses: robertdebock/molecule-action@master with: - image: ${{ matrix.image }} + image: "${{ matrix.image }}" + options: parallel ``` You can also test different tags, this is a bit clunky; you basically define a full matrix and exclude many tags. @@ -198,5 +203,6 @@ jobs: - name: molecule uses: robertdebock/molecule-action@master with: - image: ${{ matrix.image }} + image: "${{ matrix.image }}" + options: parallel ``` diff --git a/action.yml b/action.yml index 7433b2b..eb4ea88 100644 --- a/action.yml +++ b/action.yml @@ -15,6 +15,10 @@ inputs: description: The tag of the container image to use. required: false default: latest + options: + description: Options you can pass to tox, for example `parallel`. + required: false + default: "" runs: using: docker