-
Notifications
You must be signed in to change notification settings - Fork 437
55 lines (48 loc) · 1.24 KB
/
parametric-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: APM Parametric Tests
on:
workflow_call: # allows to reuse this workflow
inputs:
ref:
description: 'The branch to run the workflow on'
required: true
type: string
push:
branches:
- main
- release-v*
tags:
- "**"
pull_request:
branches:
- "**"
merge_group:
workflow_dispatch: {}
schedule:
- cron: '00 04 * * 2-6'
permissions:
contents: read
jobs:
parametric-tests:
if: github.event_name != 'pull_request' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'DataDog/dd-trace-go')
runs-on:
group: "APM Larger Runners"
env:
TEST_LIBRARY: golang
steps:
- name: Checkout system tests
uses: actions/checkout@v3
with:
repository: 'DataDog/system-tests'
ref: ${{ inputs.ref }}
- name: Checkout dd-trace-go
uses: actions/checkout@v3
with:
ref: ${{ inputs.branch_ref || github.ref }}
path: 'binaries/dd-trace-go'
- uses: actions/setup-go@v3
with:
go-version: "oldstable"
- name: Build runner
uses: ./.github/actions/install_runner
- name: Run
run: ./run.sh PARAMETRIC