Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.4.1
3.4.2
4 changes: 2 additions & 2 deletions docusaurus/docs/ruby/predict.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ PREDICT runs only the tests that are likely to fail. The subset of tests is calc

To enable PREDICT, set any of the following ENV variables:

* `KNAPSACK_PRO_PREDICT_DISABLED_ON_BRANCHES` (comma-separated list): on what branches to run all the tests
* `KNAPSACK_PRO_PREDICT_DISABLED_ON_BRANCHES` (comma-separated strings or regular expressions): on what branches to run all the tests
* `KNAPSACK_PRO_PREDICT_DISABLED_ON_CHANGED_FILES` ([Ruby glob](#ruby-glob)): what files, if modified, cause all the tests to run
* `KNAPSACK_PRO_PREDICT_ALWAYS_RUN_TESTS` ([Ruby glob](#ruby-glob)): what tests to always run

Expand All @@ -43,7 +43,7 @@ Given the dynamic nature of Ruby, PREDICT will likely not be correct 100% of the
Given the following configuration on CI:

```bash
KNAPSACK_PRO_PREDICT_DISABLED_ON_BRANCHES='main,staging' \
KNAPSACK_PRO_PREDICT_DISABLED_ON_BRANCHES='main,staging,/release-.*/i' \
KNAPSACK_PRO_PREDICT_DISABLED_ON_CHANGED_FILES='{Gemfile,Gemfile.lock}' \
KNAPSACK_PRO_PREDICT_ALWAYS_RUN_TESTS='spec/features/**/*_spec.rb' \
bundle exec rake "knapsack_pro:queue:rspec"
Expand Down
Loading