mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
ci: send test statistics to DataDog (#7786)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
name: Upload tests to datadog
|
||||
if: always()
|
||||
inputs:
|
||||
api-key:
|
||||
description: "Datadog API key"
|
||||
required: true
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- shell: bash
|
||||
run: |
|
||||
npm install -g @datadog/datadog-ci
|
||||
datadog-ci junit upload --service coder ./gotests.xml \
|
||||
--tags os:${{runner.os}} --tags runner_name:${{runner.name}}
|
||||
env:
|
||||
DATADOG_API_KEY: ${{ inputs.api-key }}
|
||||
Reference in New Issue
Block a user