Skip to content

Commit

Permalink
Run tests on CI using 6.4.0 and 7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bencodes committed Dec 15, 2023
1 parent f3a11ac commit 392c504
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
matrix:
os: [ubuntu-latest]
bzlmod: [true]
bazel_version: ["6.4.0", "7.0.0"]
runs-on: ${{ matrix.os }}
steps:
- name: "Checkout the sources"
Expand All @@ -35,6 +36,8 @@ jobs:
- name: "Setup Bazelisk"
uses: bazelbuild/setup-bazelisk@v2
- name: "Running tests //..."
env:
USE_BAZEL_VERSION: ${{ matrix.bazel_version }}
run: bazel test //... --enable_bzlmod=${{ matrix.bzlmod }}
integration-tests:
strategy:
Expand All @@ -43,6 +46,7 @@ jobs:
bzlmod: [true]
directory: [examples/simple-android]
strategy: [local, worker]
bazel_version: ["6.4.0", "7.0.0"]
runs-on: ${{ matrix.os }}
steps:
- name: "Checkout the sources"
Expand All @@ -57,5 +61,7 @@ jobs:
- name: "Setup Bazelisk"
uses: bazelbuild/setup-bazelisk@v2
- name: "Running integration tests ${{ matrix.directory }}"
env:
USE_BAZEL_VERSION: ${{ matrix.bazel_version }}
working-directory: ${{ matrix.directory }}
run: bazel test //... --enable_bzlmod=${{ matrix.bzlmod }} --strategy=AndroidLint=${{ matrix.strategy }}
1 change: 0 additions & 1 deletion examples/simple-android/.bazelversion

This file was deleted.

0 comments on commit 392c504

Please sign in to comment.