Skip to content

Commit

Permalink
Generate execution logs
Browse files Browse the repository at this point in the history
  • Loading branch information
aherrmann committed Jun 14, 2020
1 parent 7e484d5 commit 59b7d7c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,19 @@ jobs:
- name: Test
run: |
"${GITHUB_WORKSPACE}/bin/bazel" test //...
"${GITHUB_WORKSPACE}/bin/bazel" test //... \
--execution_log_json_file=test_log_execution.json \
--experimental_workspace_rules_log_file=test_log_workspace.pb
- name: Build
run: |
"${GITHUB_WORKSPACE}/bin/bazel" build //...
- name: Bundle Bazel Logs
run: |
tar czf test_logs_${{ matrix.os }}.tgz test_log_execution.json test_log_workspace.pb
- uses: actions/upload-artifact@v1
with:
name: bazel-logs-${{ matrix.os }}
path: test_logs_${{ matrix.os }}.tgz

0 comments on commit 59b7d7c

Please sign in to comment.