Skip to content

Commit

Permalink
Update CI to not fail-fast to see all results
Browse files Browse the repository at this point in the history
Also make the names more UI friendly.

PiperOrigin-RevId: 359886092
  • Loading branch information
gkdn authored and copybara-github committed Feb 27, 2021
1 parent f9a5af0 commit 793d285
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# Format reference: https://docs.github.com/en/actions/reference

name: J2CL CI
name: CI

# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#on
on:
Expand All @@ -32,12 +32,11 @@ env:

# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobs
jobs:
build-and-test:
name: Build and Test

build:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
test-type: [CI, SAMPLES]
os: [macos-latest, ubuntu-latest]
Expand Down Expand Up @@ -65,7 +64,6 @@ jobs:
curl -L "https://github.com/bazelbuild/bazelisk/releases/download/${BAZELISK_VERSION}/bazelisk-${{ matrix.bazelisk-os }}-amd64" -o ${BAZELISK_BIN}/bazel
chmod +x "${BAZELISK_BIN}/bazel"
alias bazel="${BAZELISK_BIN}/bazel"
- name: Mount bazel cache
uses: actions/cache@v2
with:
Expand All @@ -76,6 +74,5 @@ jobs:
run: |
echo "startup --output_base=$HOME/.cache/bazel" >> .bazelrc
echo "build --verbose_failures" >> .bazelrc
- name: Run tests
run: ./build_test.sh ${{ matrix['test-type'] }}

0 comments on commit 793d285

Please sign in to comment.