[ISSUE #8248]fix: getTotalBatchMaxBytes return holdSize #5164
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Run Tests by Bazel | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
push: | |
branches: | |
- master | |
- develop | |
- bazel | |
permissions: | |
actions: write | |
jobs: | |
build: | |
name: "bazel-compile (${{ matrix.os }})" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: bazel build --config=remote //... | |
- name: Run Tests | |
run: bazel test --config=remote //... | |
- name: Retry if failed | |
# if it failed , retry 2 times at most | |
if: failure() && fromJSON(github.run_attempt) < 3 | |
continue-on-error: true | |
env: | |
GH_REPO: ${{ github.repository }} | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
echo "Attempting to retry workflow..." | |
gh workflow run rerun-workflow.yml -F run_id=${{ github.run_id }} |