From 0d780610085f7996f4a76273d6f044eabc332908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 4 Aug 2023 18:26:03 +0200 Subject: [PATCH] Enable `--verbose` when running parallel specs (#7708) That prints the actual RSpec command that gets run under the hood, so makes it easier to reproduce and debug a failing "slice". --- bundler/script/ci-test | 2 +- composer/script/ci-test | 2 +- go_modules/script/ci-test | 2 +- hex/script/ci-test | 2 +- npm_and_yarn/script/ci-test | 2 +- python/script/ci-test | 2 +- swift/script/ci-test | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bundler/script/ci-test b/bundler/script/ci-test index 0c85ce02a49..95ad89acae5 100755 --- a/bundler/script/ci-test +++ b/bundler/script/ci-test @@ -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` diff --git a/composer/script/ci-test b/composer/script/ci-test index 8ba165bea47..0827bb2f16a 100755 --- a/composer/script/ci-test +++ b/composer/script/ci-test @@ -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 diff --git a/go_modules/script/ci-test b/go_modules/script/ci-test index 8ba165bea47..0827bb2f16a 100755 --- a/go_modules/script/ci-test +++ b/go_modules/script/ci-test @@ -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 diff --git a/hex/script/ci-test b/hex/script/ci-test index 8ba165bea47..0827bb2f16a 100755 --- a/hex/script/ci-test +++ b/hex/script/ci-test @@ -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 diff --git a/npm_and_yarn/script/ci-test b/npm_and_yarn/script/ci-test index 662586172f8..42e29554f23 100755 --- a/npm_and_yarn/script/ci-test +++ b/npm_and_yarn/script/ci-test @@ -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 - diff --git a/python/script/ci-test b/python/script/ci-test index 8ba165bea47..0827bb2f16a 100755 --- a/python/script/ci-test +++ b/python/script/ci-test @@ -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 diff --git a/swift/script/ci-test b/swift/script/ci-test index 8ba165bea47..0827bb2f16a 100755 --- a/swift/script/ci-test +++ b/swift/script/ci-test @@ -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