Skip to content

Commit

Permalink
fix(code-coverage): Simplify trigger logic for postgres log checking
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusSkytte committed Sep 18, 2024
1 parent fefa3ab commit 13346f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,13 @@ jobs:


- name: Collect docker logs
if: always() && ${{ inputs.check_postgres_logs }}
if: always() && inputs.check_postgres_logs
uses: jwalton/gh-docker-logs@v2
with:
dest: '${{ runner.workspace }}/logs-docker'

- name: Check docker logs for PostgreSQL ERRORs
if: always() && ${{ inputs.check_postgres_logs }}
if: always() && inputs.check_postgres_logs
run: |
## --------------------------------------------------------------------
log=$(find ${{ runner.workspace }}/logs-docker/ -name '*postgres*.log')
Expand Down

0 comments on commit 13346f2

Please sign in to comment.