Try to fix CircleCI report dir

This commit is contained in:
Sami Samhuri 2026-01-01 16:32:33 -08:00
parent 5e56271727
commit f228619b8e
No known key found for this signature in database
2 changed files with 7 additions and 3 deletions

View file

@ -53,9 +53,9 @@ 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
path: "$CIRCLE_TEST_REPORTS/reports"
workflows:
version: 2

View file

@ -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 = "#{ENV["CIRCLE_TEST_REPORTS"]}/reports"
end