Testspace has built-in integrations with GitHub Actions. To publish content simply “push” file(s) with the Testspace CLI. Test results, code coverage, and other artifacts can be published using a single command.

testspace path/to/**/results*.xml coverage.xml ..

Testspace Automation Reporting includes support for

The GitHub’s Actions image below is from this Hello Publish sample that uses pre-canned results generated from multiple workflows based on the same commit id.

GitHub Actions

The test results, generated from the separate workflows, are aggregated into a single record using folders to organize the content.

testspace "[${{ github.workflow }}]./testcontent/*.xml"

GitHub Actions Integration


Teams can visualize all their test results with a single dashboard providing history, metrics, and other information.

The Testspace Dashboard provides:

Check out the following:


There are two steps required to include Testspace within a workflow yml file:

For more details refer to the getting started documentation.

Setup Action

Testspace provides a setup cli action, simplying the integration.

  - uses: actions/checkout@v2  # required "before" setup for checks to be included
  - name: Testspace client setup
    uses: testspace-com/setup-testspace@v1
      domain: ${{ github.repository_owner }}
      token:  ${{ secrets.TESTSPACE_TOKEN }} # optional, only required for private repos

Push XML File(s)

Files – output from the Continuous Integration process – are pushed to the Testspace Server using a simple command line client.

For details of the different test content supported refer to the file content documentation.

  - name: Testspace push test content
    run: testspace "*.xml"

Example Using Matrix

This Sample that uses pre-canned (fake) results leveraging multiple workflows. The workflow below can be found here.

name: Matrix
    runs-on: ${{ matrix.os }}
        os: [ubuntu-latest, macos-latest, windows-latest]
      - uses: actions/checkout@v2
      - name: Testspace client setup
        uses: testspace-com/setup-testspace@v1
          domain: ${{github.repository_owner}}
      - name: Testspace push test content
        run: testspace "[${{ github.workflow }} / ${{ matrix.os}}]./testcontent/*.xml"

Get setup in minutes!

Try Testspace risk-free. No credit card is required.

Have questions? Contact us.