Skip to content

Commit

Permalink
Switch to turbo_tests as a parallel test runner
Browse files Browse the repository at this point in the history
It has incremental summarized output, so its output is identical to plain
RSpec.

Co-authored-by: ilyazub <ilya@serpapi.com>
  • Loading branch information
deivid-rodriguez and ilyazub committed Sep 29, 2023
1 parent 3bb5e85 commit 0a4d950
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 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_rspec spec/ --verbose
bundle exec turbo_tests --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 common/dependabot-common.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ Gem::Specification.new do |spec|

spec.add_development_dependency "debug", "~> 1.8.0"
spec.add_development_dependency "gpgme", "~> 2.0"
spec.add_development_dependency "parallel_tests", "~> 4.2.0"
spec.add_development_dependency "rake", "~> 13"
spec.add_development_dependency "rspec", "~> 3.12"
spec.add_development_dependency "rspec-its", "~> 1.3"
spec.add_development_dependency "rubocop", "~> 1.56.0"
spec.add_development_dependency "rubocop-performance", "~> 1.19.0"
spec.add_development_dependency "rubocop-sorbet", "~> 0.7.3"
spec.add_development_dependency "stackprof", "~> 0.2.16"
spec.add_development_dependency "turbo_tests", "~> 2.2.0"
spec.add_development_dependency "vcr", "~> 6.1"
spec.add_development_dependency "webmock", "~> 3.18"

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_rspec spec/ --verbose
bundle exec turbo_tests --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_rspec spec/ --verbose
bundle exec turbo_tests --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_rspec spec/ --verbose
bundle exec turbo_tests --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_rspec spec/ --verbose
bundle exec turbo_tests --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 @@ -5,4 +5,4 @@ set -e
pyenv exec flake8 helpers/. --count --exclude=./.*,./python/spec/fixtures --show-source --statistics

bundle install
bundle exec parallel_rspec spec/ --verbose
bundle exec turbo_tests --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_rspec spec/ --verbose
bundle exec turbo_tests --verbose

0 comments on commit 0a4d950

Please sign in to comment.