From 5b9e60bf0d0073a5b00d011c48bec7eb162386dd Mon Sep 17 00:00:00 2001 From: Harry Marr Date: Wed, 14 Nov 2018 17:53:36 +0000 Subject: [PATCH] Collect test metadata in CI --- .circleci/config.yml | 4 +++- dependabot-core.gemspec | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9db1cb4a2c..af7155c350 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,4 +38,6 @@ jobs: # Run tests - run: cd helpers/yarn && node_modules/.bin/jest - run: cd helpers/npm && node_modules/.bin/jest - - run: bundle exec rspec spec + - run: bundle exec rspec spec --format documentation --format RspecJunitFormatter -o ~/rspec/rspec.xml + - store_test_results: + path: ~/rspec diff --git a/dependabot-core.gemspec b/dependabot-core.gemspec index 1bf0df8aa1..1c63b557ab 100644 --- a/dependabot-core.gemspec +++ b/dependabot-core.gemspec @@ -36,6 +36,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency "rake" spec.add_development_dependency "rspec", "~> 3.8.0" spec.add_development_dependency "rspec-its", "~> 1.2.0" + spec.add_development_dependency "rspec_junit_formatter", "~> 0.4" spec.add_development_dependency "rubocop", "~> 0.60.0" spec.add_development_dependency "vcr", "~> 4.0.0" spec.add_development_dependency "webmock", "~> 3.4.0"