From 53649c7b6066f5e0ce98e7fc79e71fe6b354b0e8 Mon Sep 17 00:00:00 2001 From: Tyler Jang Date: Tue, 17 Oct 2023 16:59:23 -0700 Subject: [PATCH] fix? filters --- .github/workflows/test_impacted_targets.yaml | 2 +- tests/expected/many_filtered.txt | 22 -------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/.github/workflows/test_impacted_targets.yaml b/.github/workflows/test_impacted_targets.yaml index caf8ee4..499c058 100644 --- a/.github/workflows/test_impacted_targets.yaml +++ b/.github/workflows/test_impacted_targets.yaml @@ -97,7 +97,7 @@ jobs: bazel-startup-options: "" impact-all-filters-path: "" kind-filter: source file - negative-scope-filter: \\.cc$ + negative-scope-filter: \\.txt$ expected-targets-file: many_filtered.txt upload-targets: "false" diff --git a/tests/expected/many_filtered.txt b/tests/expected/many_filtered.txt index f7fdc7d..0ed1aa9 100644 --- a/tests/expected/many_filtered.txt +++ b/tests/expected/many_filtered.txt @@ -1,32 +1,10 @@ -//lib:foo.txt -//lib:lib //lib10:BUILD -//lib10:foo.txt -//lib10:lib10 //lib11:BUILD -//lib11:foo.txt -//lib11:lib11 //lib12:BUILD -//lib12:foo.txt -//lib12:lib12 //lib13:BUILD -//lib13:foo.txt -//lib13:lib13 //lib14:BUILD -//lib14:foo.txt -//lib14:lib14 //lib15:BUILD -//lib15:foo.txt -//lib15:lib15 //lib16:BUILD -//lib16:foo.txt -//lib16:lib16 //lib17:BUILD -//lib17:foo.txt -//lib17:lib17 //lib18:BUILD -//lib18:foo.txt -//lib18:lib18 //lib19:BUILD -//lib19:foo.txt -//lib19:lib19