Skip to content

Commit 7cdd813

Browse files
vharsekoCopilot
andauthored
ci: dump openidm logs after UI smoke tests (#173)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
1 parent 49f638a commit 7cdd813

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,18 @@ jobs:
159159
openidm/logs/**
160160
e2e/playwright-report/**
161161
e2e/test-results/**
162+
- name: Print openidm logs
163+
if: ${{ always() }}
164+
shell: bash
165+
run: |
166+
if [ -d openidm/logs ]; then
167+
find openidm/logs -type f -printf '%T@ %p\n' | sort -n | cut -d' ' -f2- | while read -r f; do
168+
echo "===== $f ====="
169+
cat "$f"
170+
done
171+
else
172+
echo "openidm/logs directory not found"
173+
fi
162174
build-docker:
163175
runs-on: 'ubuntu-latest'
164176
services:

0 commit comments

Comments
 (0)