Skip to content

Commit 2128670

Browse files
committed
ci: save kopflos logs and api-tuner temp files
1 parent f15fa6f commit 2128670

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,17 @@ jobs:
8484
- run: npm ci
8585
- run: docker compose up -d
8686
working-directory: example
87-
- run: npm run -w example start &
87+
- run: npm run -w example start 2>&1 | tee example.log &
8888
- run: npx wait-on http://localhost:1429/plaque/newton-s-apple-tree-monash-university -t 30000
8989

9090
- run: npm run -w example test -- --debug
91+
- if: failure()
92+
uses: actions/upload-artifact@v4
93+
with:
94+
name: smoke-test-logs
95+
path: example.log
96+
- if: failure()
97+
uses: actions/upload-artifact@v7
98+
with:
99+
name: api-tuner-debug
100+
path: /tmp

0 commit comments

Comments
 (0)