Skip to content

Commit

Permalink
Enable --verbose when running parallel specs (#7708)
Browse files Browse the repository at this point in the history
That prints the actual RSpec command that gets run under the hood, so
makes it easier to reproduce and debug a failing "slice".
  • Loading branch information
deivid-rodriguez authored Aug 4, 2023
1 parent c21e69e commit 0d78061
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bundler/script/ci-test
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

bundle install
bundle exec parallel_test spec/ -n "$CI_NODE_TOTAL" --only-group "$CI_NODE_INDEX" --group-by filesize --type rspec
bundle exec parallel_test spec/ -n "$CI_NODE_TOTAL" --only-group "$CI_NODE_INDEX" --group-by filesize --type rspec --verbose

# NOTE: Don't use `if` branches without `else` part, since the code in some of
# then seems to not abort the script regardless of `set -e`
Expand Down
2 changes: 1 addition & 1 deletion composer/script/ci-test
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -e

bundle install
bundle exec parallel_test spec/ -n "$CI_NODE_TOTAL" --only-group "$CI_NODE_INDEX" --group-by filesize --type rspec
bundle exec parallel_test spec/ -n "$CI_NODE_TOTAL" --only-group "$CI_NODE_INDEX" --group-by filesize --type rspec --verbose
2 changes: 1 addition & 1 deletion go_modules/script/ci-test
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -e

bundle install
bundle exec parallel_test spec/ -n "$CI_NODE_TOTAL" --only-group "$CI_NODE_INDEX" --group-by filesize --type rspec
bundle exec parallel_test spec/ -n "$CI_NODE_TOTAL" --only-group "$CI_NODE_INDEX" --group-by filesize --type rspec --verbose
2 changes: 1 addition & 1 deletion hex/script/ci-test
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -e

bundle install
bundle exec parallel_test spec/ -n "$CI_NODE_TOTAL" --only-group "$CI_NODE_INDEX" --group-by filesize --type rspec
bundle exec parallel_test spec/ -n "$CI_NODE_TOTAL" --only-group "$CI_NODE_INDEX" --group-by filesize --type rspec --verbose
2 changes: 1 addition & 1 deletion npm_and_yarn/script/ci-test
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

bundle install
export YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn
bundle exec parallel_test spec/ -n "$CI_NODE_TOTAL" --only-group "$CI_NODE_INDEX" --group-by filesize --type rspec
bundle exec parallel_test spec/ -n "$CI_NODE_TOTAL" --only-group "$CI_NODE_INDEX" --group-by filesize --type rspec --verbose

# Should we only run these on one of the CI_NODE_INDEX's?
cd /opt/npm_and_yarn && npm run lint && cd -
Expand Down
2 changes: 1 addition & 1 deletion python/script/ci-test
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -e

bundle install
bundle exec parallel_test spec/ -n "$CI_NODE_TOTAL" --only-group "$CI_NODE_INDEX" --group-by filesize --type rspec
bundle exec parallel_test spec/ -n "$CI_NODE_TOTAL" --only-group "$CI_NODE_INDEX" --group-by filesize --type rspec --verbose
2 changes: 1 addition & 1 deletion swift/script/ci-test
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -e

bundle install
bundle exec parallel_test spec/ -n "$CI_NODE_TOTAL" --only-group "$CI_NODE_INDEX" --group-by filesize --type rspec
bundle exec parallel_test spec/ -n "$CI_NODE_TOTAL" --only-group "$CI_NODE_INDEX" --group-by filesize --type rspec --verbose

0 comments on commit 0d78061

Please sign in to comment.