This repository was archived by the owner on Sep 26, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ branchProtectionRules:
28
28
requiresStrictStatusChecks : true
29
29
# List of required status check contexts that must pass for commits to be accepted to matching branches.
30
30
requiredStatusCheckContexts :
31
+ - " bazel"
31
32
- " linkage-monitor"
32
33
- " units (7)"
33
34
- " units (8)"
Original file line number Diff line number Diff line change 23
23
uses : codecov/codecov-action@v1
24
24
with :
25
25
name : actions ${{ matrix.java }}
26
+ bazel :
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ - uses : actions/checkout@v2
30
+ - uses : actions/setup-java@v1
31
+ with :
32
+ java-version : 8
33
+ - run : java -version
34
+ - name : Install Bazel
35
+ run : |
36
+ wget -q "https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/$BAZEL_BINARY"
37
+ wget -q "https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/$BAZEL_BINARY.sha256"
38
+ sha256sum -c "$BAZEL_BINARY.sha256"
39
+ sudo dpkg -i "$BAZEL_BINARY"
40
+ env :
41
+ BAZEL_VERSION : 3.5.0
42
+ BAZEL_BINARY : bazel_3.5.0-linux-x86_64.deb
43
+ - name : Run bazel tests
44
+ run : bazel --batch test //... --noshow_progress --test_output=errors
45
+ - name : coverage
46
+ uses : codecov/codecov-action@v1
47
+ with :
48
+ name : actions bazel
49
+
26
50
linkage-monitor :
27
51
runs-on : ubuntu-latest
28
52
steps :
You can’t perform that action at this time.
0 commit comments