diff --git a/.github/workflows/integration-README.md b/.github/workflows/integration-README.md index f7621ee..7887f82 100644 --- a/.github/workflows/integration-README.md +++ b/.github/workflows/integration-README.md @@ -9,6 +9,7 @@ See the [integration.yaml](./integration.yaml) | Input | Description | Required | Default | | ------------------ | ------------------------------------------------------------- | -------- | ----------------------------- | | matrix | JSON string of [version matrix for Magento](./#matrix-format) | true | NULL | +| fail-fast | Same as Github's [fail-fast](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast) | false | true | | package_name | The name of the package | true | NULL | | source_folder | The source folder of the package | false | $GITHUB_WORKSPACE | | magento_directory | The folder where Magento will be installed | false | ../magento2 | @@ -18,7 +19,7 @@ See the [integration.yaml](./integration.yaml) ## Secrets | Input | Description | Required | Default | | ------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------- | -| composer_auth | JSON string of [composer credentials]([#./matrix-format](https://devdocs.magento.com/guides/v2.4/install-gde/prereq/connect-auth.html)) | true | NULL | +| composer_auth | JSON string of [composer credentials]([#./matrix-format](https://devdocs.magento.com/guides/v2.4/install-gde/prereq/connect-auth.html)) | false | NULL | ### Matrix Format diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index f6adb9a..8d19756 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -29,6 +29,11 @@ on: type: string required: true description: "The matrix of Magento versions to test against" + + fail-fast: + type: boolean + required: false + default: true test_command: type: string @@ -44,6 +49,7 @@ jobs: integration_test: runs-on: ${{ matrix.os }} strategy: + fail-fast: ${{ inputs.fail-fast }} matrix: ${{ fromJSON(inputs.matrix) }} services: elasticsearch: