Skip to content

Commit

Permalink
place log file inside /tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
jberthold committed Jul 9, 2024
1 parent db3f2d1 commit 94860c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,15 @@ jobs:
- name: 'Build Kasmer'
run: GC_DONT_GC=1 nix build .#kmxwasm --extra-experimental-features 'nix-command flakes' --print-build-logs
- name: 'Run smoke tests'
run: GC_DONT_GC=1 KORE_RPC_OPTS='--log-file ./smoke-log.json --log-format json -l Rewrite -l Simplify --log-context "*>llvm"' nix develop .#kmxwasm-test-shell --extra-experimental-features 'nix-command flakes' --print-build-logs --command './package/smoke-test.sh'
run: GC_DONT_GC=1 KORE_RPC_OPTS='--log-file /tmp/smoke-log.json --log-format json -l Rewrite -l Simplify --log-context "*>llvm"' nix develop .#kmxwasm-test-shell --extra-experimental-features 'nix-command flakes' --print-build-logs --command './package/smoke-test.sh'
- name: 'Run claim generation tests'
run: GC_DONT_GC=1 nix develop .#kmxwasm-test-shell --extra-experimental-features 'nix-command flakes' --print-build-logs --command './generate-claims.sh'
- name: Compress server logs from smoke test
if: always()
run: gzip smoke-log.json
run: gzip /tmp/smoke-log.json
- name: Archive server logs for inspection
if: always()
uses: actions/upload-artifact@v4
with:
name: "${{ matrix.runner }}.smoke-log.json.gz"
path: ./smoke-log.json.gz
path: /tmp/smoke-log.json.gz

0 comments on commit 94860c5

Please sign in to comment.