Skip to content

Commit

Permalink
refactor: fix trigger condition for coverage in test_compose
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jan 22, 2024
1 parent 1299902 commit e5e809b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }} \
Expand All @@ -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
Expand Down

0 comments on commit e5e809b

Please sign in to comment.