Skip to content

Commit

Permalink
feat(code-coverage): Print Postgres container logs
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusSkytte committed Feb 7, 2024
1 parent 685babc commit 2bb0447
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/code-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,18 @@ jobs:
name: coverage-test-failures-postgres
path: ${{ runner.temp }}/package

- name: Collect docker logs
uses: jwalton/gh-docker-logs@v1
with:
dest: './logs-docs'

- name: Check docker logs for PostgreSQL errors
if: always()
run: |
## --------------------------------------------------------------------
logs=$(find ${{ runner.workspace }}/logs-docs/ -name 'postgres*.log')
cat $logs
code-coverage-mssql:
name: 🧪 Tests (SQL Server 2019)
Expand Down

0 comments on commit 2bb0447

Please sign in to comment.