From e5e809ba52cfbe25afea45317ca1dbee3028be18 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Mon, 22 Jan 2024 16:43:33 +0000 Subject: [PATCH] refactor: fix trigger condition for coverage in test_compose --- .github/workflows/test_compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_compose.yml b/.github/workflows/test_compose.yml index 42d3f31..99350b3 100644 --- a/.github/workflows/test_compose.yml +++ b/.github/workflows/test_compose.yml @@ -245,7 +245,7 @@ jobs: ${{ inputs.compose_service }} ${{ inputs.compose_command }} - name: Run Tests With Coverage - if: ${{ github.event.inputs.coverage == 'true' }} + if: ${{ inputs.coverage == 'false' }} run: | ${{ inputs.pre_command }} docker compose --file ${{ inputs.compose_file }} \ @@ -259,7 +259,7 @@ jobs: && mv coverage.svg /tmp/coverage/coverage.svg" - name: Upload Coverage - if: ${{ github.event.inputs.coverage == 'true' }} + if: ${{ inputs.coverage == 'true' }} run: | # Pull content from gh-pages mkdir tmp_pages