Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: add circleci test reporting #3316

Merged
merged 1 commit into from
Aug 23, 2023
Merged

Conversation

erickzhao
Copy link
Member

@erickzhao erickzhao commented Aug 23, 2023

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • The changes are appropriately documented (if applicable).
  • The changes have sufficient test coverage (if applicable).
  • The testsuite passes successfully on my local machine (if applicable).

Summarize your changes:

This PR uses the store_test_results step in our CircleCI config. To collect test results, I added the mocha-junit-reporter package. This reporter will run when process.env.CI is true.

This is a pre-requisite for using Circle's "split by timing" test parallelism feature: https://circleci.com/docs/parallelism-faster-jobs/

This PR follows the Collect Test Data doc from CircleCI.

@erickzhao erickzhao marked this pull request as ready for review August 23, 2023 04:20
@erickzhao erickzhao requested a review from a team as a code owner August 23, 2023 04:20
@erickzhao erickzhao merged commit a7f7a9f into main Aug 23, 2023
10 checks passed
@erickzhao erickzhao deleted the build/circleci-test-reporting branch August 23, 2023 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants