Skip to content

Report Jest test results to Currents - a cloud platform for debugging, troubleshooting and analysing CI tests

Notifications You must be signed in to change notification settings

currents-dev/currents-jest-github-actions-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Report Jest test results to Currents - a cloud platform for debugging, troubleshooting and analysing CI tests

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published