You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
acc: Support ENVFILTER for filtering tests by Env/EnvMatrix setting (#2944)
## Why
Useful for selecting only subtests for tests with a lot of combinations,
e.g default-python/combinations.
Usiong it in #2926 to select
single deployment backend on CI.
## Tests
Manually.
```
~/work/cli-main/acceptance/selftest/envmatrix % ENVFILTER=FIRST=one111 go test ../.. -run ^TestAccept$/^selftest$/^envmatrix$ -v | grep SKIP
--- SKIP: TestAccept/selftest/envmatrix (0.01s)
--- SKIP: TestAccept/selftest/envmatrix/inner/B_REGULAR_VAR=hello/FIRST=two222/SECOND=variantB/THIRD=three_$FIRST (0.01s)
--- SKIP: TestAccept/selftest/envmatrix/inner/B_REGULAR_VAR=hello/FIRST=two222/SECOND=variantA/THIRD=three_$FIRST (0.01s)
```
0 commit comments