Skip to content

Commit

Permalink
chore(workflow): update to convenient test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mgred committed Aug 5, 2024
1 parent ffa667d commit 1133490
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,15 @@ env:
XDG_CACHE_HOME: ~/.cache/bazel-repo

jobs:
pre-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Mount bazel caches
uses: actions/cache@v3
with:
path: |
~/.cache/bazel
~/.cache/bazel-repo
key: bazel-cache-${{ hashFiles('**/BUILD.bazel', '**/*.bzl', 'WORKSPACE') }}
restore-keys: bazel-cache-
- name: bazel test //:setup
run: >
bazel
--bazelrc=${{ github.workspace }}/.bazelrc
--bazelrc=${{ github.workspace }}/.github/workflows/ci.bazelrc
test //:setup
test:
needs: ["pre-test"]
runs-on: ubuntu-latest
strategy:
matrix:
bazelversion:
- 7.0.0
folder:
- "."
- "e2e"
- .
- e2e
steps:
- uses: actions/checkout@v4
- name: Mount bazel caches
Expand Down

0 comments on commit 1133490

Please sign in to comment.