Conti/implement test agent interface client integrations #3734
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: APM Parametric Tests | |
on: | |
push: | |
branches: | |
- main | |
- release-v* | |
tags: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
merge_group: | |
workflow_dispatch: {} | |
schedule: | |
- cron: '00 04 * * 2-6' | |
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: ubuntu-latest | |
env: | |
COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }} | |
steps: | |
- name: Checkout system tests | |
uses: actions/checkout@v3 | |
with: | |
repository: 'DataDog/system-tests' | |
path: system-tests | |
- name: Checkout Go | |
uses: actions/checkout@v3 | |
with: | |
path: system-tests/golang | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.18.7' | |
- name: Patch dd-trace-go version | |
run: | | |
cd system-tests/utils/build/docker/golang/parametric/ | |
go get gopkg.in/DataDog/dd-trace-go.v1@$COMMIT_SHA | |
go mod tidy | |
- name: Checkout Python | |
uses: actions/checkout@v3 | |
with: | |
path: system-tests/python | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install | |
run: | | |
pip install wheel | |
- name: Run | |
run: | | |
pip install -r system-tests/requirements.txt | |
cd system-tests/parametric | |
CLIENTS_ENABLED=golang ./run.sh |