Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.17 KB

File metadata and controls

25 lines (17 loc) · 1.17 KB

Currents + Jest on GitHub Actions Example

About

This repository demonstrates how to report test results generated by Jest to Currents - a cloud platform for debugging, troubleshooting and analysing CI tests.

This example runs Jest tests in parallel using GitHub actions matrix with 2 containers.

How to reproduce

Follow the steps to reproduce this example:

  • Create an account at https://app.currents.dev and obtain Project Id and Record Key
  • Save the Record Key as Repository Secret CURRENTS_RECORD_KEY
  • Add @currents/cmd and @currents/jest as a dependency
  • Add @currents/jest as Jest reporter (see ./jest.config.js)
  • Configure GitHub actions workflow:
    • run the tests: npm run test
    • upload the test results to Currents: npx currents upload ...

Resources