Skip to content

Commit

Permalink
Upload logs on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasAlaif committed Dec 19, 2023
1 parent e2844b0 commit c8aa33f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ jobs:
run: test -d "logs"
- run: cargo test --all

# Failure
- run: tar -cjf failing_logs.tar.bz2 logs/
if: failure()
- uses: actions/[email protected]
if: failure()
with:
name: "logs_z3_v${{ matrix.z3version }}"
path: failing_logs.tar.bz2


generate_log:
# only run this job on push to main branch
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch'
Expand Down

0 comments on commit c8aa33f

Please sign in to comment.