Skip to content

Commit 45bfe9d

Browse files
committed
github/workflows/test: Capture docker compose logs
1 parent fa7e747 commit 45bfe9d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ jobs:
5353
jq -c '.data.result|.[].stream' | tee -a streams.log
5454
5555
- name: Show the logs
56-
run: cat streams.log | jq
56+
run: jq < streams.log
57+
58+
- name: docker compose logs
59+
run: cd docker-compose-udp && docker compose logs zeek loki
5760

5861
- name: Check for the eu.httpbin.org host name in the logs
5962
run: grep 'eu.httpbin.org' streams.log

0 commit comments

Comments
 (0)