I have Rubocop exporting a junit xml file but I can’t seem to figure out what is needed to have it parsed in CircleCI.
The other methods I’ve seen for doing this don’t look like they’d help (Like using rspec to output the test).
Any insight into if this is possible and what I can do to correct my circle.yml to make rubocop output parseable would be greatly appreciated.
The documentation seems to suggest it’s possible but is it just limited to the three providers on that page? https://circleci.com/docs/test-metadata/#automatic-test-metadata-collection
I’ve tried a bunch of different paths for the output file like $CIRCLE_TEST_REPORTS/rubocop.xml and $CIRCLE_TEST_REPORTS/rubocop/junit.xml but I can’t seem to get this to be parsed by CircleCI.
machine: ruby: version: 2.2.0 dependencies: override: - sudo pip install awscli - bundle install test: override: - rake build_all post: - bundle exec rubocop --require rubocop/formatter/checkstyle_formatter --format RuboCop::Formatter::CheckstyleFormatter --out $CIRCLE_TEST_REPORTS/junit.xml