Skip to content

Commit 5d548aa

Browse files
committed
[java] Improving query to exclude 'no-lint' tests
[run java]
1 parent fc742cf commit 5d548aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
- name: Run linter
143143
uses: ./.github/actions/bazel-test
144144
with:
145-
query: attr(tags, lint, tests(//java/...))
145+
query: attr(tags, lint, tests(//java/...)) except attr(tags, no-lint, tests(//java/...))
146146

147147
browser_tests:
148148
if: ${{ needs.check_workflow.outputs.result == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(toJson(github.event.commits), '[run java]') == true }}

0 commit comments

Comments
 (0)