File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ PREDICT runs only the tests that are likely to fail. The subset of tests is calc
2727
2828To enable PREDICT, set any of the following ENV variables:
2929
30- * ` KNAPSACK_PRO_PREDICT_DISABLED_ON_BRANCHES ` (comma-separated list ): on what branches to run all the tests
30+ * ` KNAPSACK_PRO_PREDICT_DISABLED_ON_BRANCHES ` (comma-separated strings or regular expressions ): on what branches to run all the tests
3131* ` KNAPSACK_PRO_PREDICT_DISABLED_ON_CHANGED_FILES ` ([ Ruby glob] ( #ruby-glob ) ): what files, if modified, cause all the tests to run
3232* ` KNAPSACK_PRO_PREDICT_ALWAYS_RUN_TESTS ` ([ Ruby glob] ( #ruby-glob ) ): what tests to always run
3333
@@ -43,7 +43,7 @@ Given the dynamic nature of Ruby, PREDICT will likely not be correct 100% of the
4343Given the following configuration on CI:
4444
4545``` bash
46- KNAPSACK_PRO_PREDICT_DISABLED_ON_BRANCHES=' main,staging' \
46+ KNAPSACK_PRO_PREDICT_DISABLED_ON_BRANCHES=' main,staging,/release-.*/i ' \
4747KNAPSACK_PRO_PREDICT_DISABLED_ON_CHANGED_FILES=' {Gemfile,Gemfile.lock}' \
4848KNAPSACK_PRO_PREDICT_ALWAYS_RUN_TESTS=' spec/features/**/*_spec.rb' \
4949bundle exec rake " knapsack_pro:queue:rspec"
You can’t perform that action at this time.
0 commit comments