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.
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/cmdand@currents/jestas a dependency - Add
@currents/jestas 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 ...
- run the tests: