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:
2828 requiresStrictStatusChecks : true
2929 # List of required status check contexts that must pass for commits to be accepted to matching branches.
3030 requiredStatusCheckContexts :
31+ - " bazel"
3132 - " linkage-monitor"
3233 - " units (7)"
3334 - " units (8)"
Original file line number Diff line number Diff line change 2323 uses : codecov/codecov-action@v1
2424 with :
2525 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+
2650 linkage-monitor :
2751 runs-on : ubuntu-latest
2852 steps :
You can’t perform that action at this time.
0 commit comments