diff --git a/.circleci/config.yml b/.circleci/config.yml index d257546..097f9fb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,7 +53,7 @@ jobs: - checkout - bundle_install: version: << parameters.version >> - - run: bundle exec rake test TESTOPTS="--ci-dir=./reports" + - run: bundle exec rake test - store_test_results: path: ./reports @@ -65,14 +65,14 @@ workflows: - test: matrix: parameters: - version: ["3.1.6", "3.2.6", "3.3.6", "3.4.1"] + version: ["3.2.6", "3.3.6", "3.4.1"] cron-workflow: jobs: - rubocop - test: matrix: parameters: - version: ["3.1.6", "3.2.6", "3.3.6", "3.4.1"] + version: ["3.2.6", "3.3.6", "3.4.1"] triggers: - schedule: cron: "0 13 * * 6" diff --git a/test/support/circleci.rb b/test/support/circleci.rb index 320e9a6..080c039 100644 --- a/test/support/circleci.rb +++ b/test/support/circleci.rb @@ -1,2 +1,6 @@ # Generate XML test reports that can be parsed by CircleCI -require 'minitest/ci' if ENV['CIRCLECI'] +if ENV['CIRCLECI'] + require 'minitest/ci' + + Minitest::Ci.report_dir = './reports' +end