Skip to content

Commit

Permalink
Tweak :no_wconversion_test to use tag filters
Browse files Browse the repository at this point in the history
  • Loading branch information
chiphogg committed Dec 10, 2024
1 parent 3fb8f2f commit ddfd3c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:
- name: Build and test (${{ inputs.config }})
run: bazel test --copt=-Werror --config=${{ inputs.config }} //...:all
- name: Build and test with -Wconversion (${{ inputs.config }})
run: bazel test --copt=-Werror --copt=-Wconversion --config=${{ inputs.config }} `bazel query 'kind(".*_test", //au/...:all except //au:no_wconversion_test)'`
run: bazel test --copt=-Werror --copt=-Wconversion --config=${{ inputs.config }} --test_tag_filters=-no_wconversion --build_tag_filters=-no_wconversion //au/...:all
- name: Build and test in C++20 mode (${{ inputs.config }})
run: bazel test --copt=-Werror --copt=-std=c++20 --config=${{ inputs.config }} //...:all //au:cpp20_test
1 change: 1 addition & 0 deletions au/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ cc_test(
name = "no_wconversion_test",
size = "small",
srcs = ["code/au/no_wconversion_test.cc"],
tags = ["no_wconversion"],
deps = [
":quantity",
":testing",
Expand Down

0 comments on commit ddfd3c1

Please sign in to comment.