Skip to content

Commit

Permalink
Enable Bazel tests in CI (llvm#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
boomanaiden154 authored Mar 3, 2024
1 parent 9dffa0a commit b88bd39
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,15 @@ jobs:
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel') }}
restore-keys: |
${{ runner.os }}-bazel-
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Install python deps
run: pip3 install -r requirements.in
- name: Run build
run: bazel build ...
- name: Run tests
run: bazel test --test_tag_filters="-perf_counters" ...

1 change: 1 addition & 0 deletions gematria/datasets/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ cc_test(
# the tests are currently only supported on X86_64.
tags = [
"not_build:arm",
"perf_counters",
],
target_compatible_with = [
"@platforms//cpu:x86_64",
Expand Down

0 comments on commit b88bd39

Please sign in to comment.