New Github Action: New Relic JUnit Reporter

If you’re familiar with GitHub Actions and use them for orchestrating your CI/CD workflows, you can now automate sending JUnit-formatted test run results to NRDB using the New Relic JUnit Reporter GitHub Action.

Example usage:

name: Release

on:
  - release

jobs:
  newrelic:
    runs-on: ubuntu-latest
    name: Basic Usage
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Post JUnit test results to New Relic
        uses: newrelic/junit-reporter-action@v0.1
        with:
          accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
          insertApiKey: ${{ secrets.NEW_RELIC_INSERT_API_KEY }}
          testOutputPath: test-output/integration.xml                             

Once test results are posted, they can be queried with the TestRun event type:

SELECT * from TestRun