How it works
You run your tests
npm test -- --reporter=junit -o ./reports/junit/test.xml
You upload your results to Check Run Reporter
curl "https://api.check-run-reporter.com/api/v1/submissions" \ --user token:88888888-4444-4444-4444-aaaaaaaaaaaa \ -X POST \ -F report=@"./reports/junit/test.xml" \ -F label="Unit Tests" \ -F sha="$CIRCLE_SHA1" \ -F root="$(pwd)"
Check Run Reporter sends your results to GitHub
Ian Remmel created check-run-reporter.com after years of being frustrated by how CI services present test results. Once a project hits a certain size, scrolling through logs just isn't a viable way to see what failed. GitHub provides us a powerful way to present test results no matter what CI service you're using; as long as you can produce JUnit, we can render your results.
Supported FormatsWe support the following report formats, with more on the way.
- ESLint JUnit
- ESLint JSON
- ESLint JSON with Metadata
- SwiftLint JSON
- Typescript CLI Output