Skip to content

Commit 4b210bd

Browse files
committed
Save the bazel execution log binary in Github Actions
This file can be parsed as per https://docs.bazel.build/versions/4.1.0/remote-execution-caching-debug.html#comparing-the-execution-logs to better understand things like cache hits and misses
1 parent 2a6a9c7 commit 4b210bd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,13 @@ jobs:
3333
bazelisk test //... \
3434
--config=rbe-${{ matrix.erlang_version }} \
3535
--test_tag_filters=-exclusive,-aws,-mixed-version-cluster \
36+
--execution_log_binary_file=/tmp/exec.log \
3637
--verbose_failures
38+
- name: SAVE EXECUTION LOG BINARY
39+
uses: actions/upload-artifact@v2-preview
40+
with:
41+
name: execution-log-binary-${{matrix.erlang_version}}.log
42+
path: /tmp/exec.log
3743
test-exclusive:
3844
name: Test (Exclusive Tests)
3945
runs-on: ubuntu-18.04

0 commit comments

Comments
 (0)