Skip to content

Commit a49059d

Browse files
committed
Build and Test w.r.t CXX since there is no BUILD file at the top level
1 parent 7afe33c commit a49059d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/continuous-integration.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
sudo apt-get update && sudo apt-get install -yq clang clang-format
1818
- name: Build everything
1919
run: |
20-
bazel build //...
20+
cd cxx && bazel build ...
2121
- name: Test C++
2222
run: |
23-
bazel test //...
23+
cd cxx && bazel test ...

cxx/tests/test_hirm_animals.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ int main(int argc, char **argv) {
3636
n_obs_unary += relation->data.size();
3737
}
3838
}
39-
assert(n_obs_unary == observations_unary.size());
39+
assert(n_obs_unary == std::ssize(observations_unary));
4040

4141
hirm.transition_cluster_assignments_all();
4242
hirm.transition_cluster_assignments_all();

0 commit comments

Comments
 (0)