Skip to content

Latest commit

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Datadog JUnitXML Upload Actions

This action downloads the datadog-ci and uses it to upload JUnitXML files to the CI Visibility product.

This action sets up node and requires node >=10.24.1. You can configure a specific version of node to use. Note that if you have setup another version already it will override it.

Usage

name: Test Codeon: [push]jobs:
test:
steps:
- uses: actions/checkout@v3
- run: make tests
- uses: datadog/junit-upload-github-action@v1with:
api-key: ${{ secrets.DD_API_KEY }}service: my-appfiles: ./reports/

Inputs

The action has the following options:

NameDescriptionRequiredDefault
api-keyDatadog API key to use to upload the junit files.True
serviceService name to use with the uploaded test results.True
datadog-siteThe Datadog site to upload the files to.Truedatadoghq.com
filesPath to file or folder containing XML files to uploadTrue.
concurrencyControls the maximum number of concurrent file uploadsTrue20
node-versionThe node version to use to install the datadog-ci. It must be >=10.24.1True16
tagsOptional extra tags to add to the testsFalse
envOptional environment to add to the testsFalse
logsWhen set to "true" enables forwarding content from the XML reports as Logs. The content inside <system-out>, <system-err>, and <failure> is collected as logs. Logs from elements inside a <testcase> are automatically connected to the test.False

About

GitHub Action to Upload JunitXML files to CI Visibility

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors