From 4bcca186ae0cb6cbcc080d410cc8f00875297342 Mon Sep 17 00:00:00 2001 From: Jacob Alheid Date: Wed, 31 May 2023 16:38:35 -0700 Subject: [PATCH] feat(integration-test): allow full compose output --- integration-test/action.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/integration-test/action.yaml b/integration-test/action.yaml index 9b0c569..5f4ea37 100644 --- a/integration-test/action.yaml +++ b/integration-test/action.yaml @@ -12,6 +12,10 @@ inputs: required: false description: Relative or absolute path to docker-compose.yaml file default: ./docker-compose.yaml + full-compose-output: + required: false + description: Set this to true to log all container output from docker-compose + default: "false" runs: using: composite steps: @@ -28,7 +32,7 @@ runs: DOCKER_BUILDKIT: "1" GITHUB_TOKEN: ${{ inputs.github-token }} run: | - docker-compose -f ${{ inputs.docker-compose-file }} up --build --exit-code-from test test + docker-compose -f ${{ inputs.docker-compose-file }} up --build --exit-code-from test ${{ inputs.full-compose-output == 'false' && 'test' || '' }} echo '::set-output name=docker_up::true' - name: Cleanup if: ${{ steps.build.outputs.docker_up }}