Skip to content

Commit 97ba773

Browse files
committed
Generate execution logs
1 parent f76d01c commit 97ba773

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,16 @@ jobs:
4747
4848
- name: Test
4949
run: |
50-
"${GITHUB_WORKSPACE}/bin/bazel" test //...
50+
"${GITHUB_WORKSPACE}/bin/bazel" test //... \
51+
--execution_log_json_file=test_log_execution.json \
52+
--experimental_workspace_rules_log_file=test_log_workspace.pb
53+
touch test_log_execution.json test_log_workspace.pb
5154
5255
- name: Build
5356
run: |
5457
"${GITHUB_WORKSPACE}/bin/bazel" build //...
58+
59+
- uses: actions/upload-artifact@v1
60+
with:
61+
name: bazel-logs-${{ matrix.os }}
62+
path: test_log_*

0 commit comments

Comments
 (0)