Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

System Tests

System Tests #246

Workflow file for this run

name: System Tests
on:
pull_request:
branches:
- "**"
push:
branches: [master]
workflow_dispatch: {}
schedule:
- cron: '00 04 * * 2-6'
jobs:
system-tests:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- weblog-variant: express4
- weblog-variant: express4-typescript
- weblog-variant: nextjs
env:
TEST_LIBRARY: nodejs
WEBLOG_VARIANT: ${{ matrix.weblog-variant }}
DD_API_KEY: ${{ secrets.DD_API_KEY }}
steps:
- name: Checkout system tests
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
- name: Checkout dd-trace-js
uses: actions/checkout@v4
with:
path: 'binaries/dd-trace-js'
- name: Build weblog
run: ./build.sh -i weblog
- name: Build runner
uses: ./.github/actions/install_runner
- name: Build agent
run: ./build.sh -i agent
- name: Run
run: ./run.sh TRACER_ESSENTIAL_SCENARIOS
- name: Compress artifact
if: ${{ always() }}
run: tar -czvf artifact.tar.gz $(ls | grep logs)
- name: Upload artifact
uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: logs_express-poc
path: artifact.tar.gz
parametric:
runs-on: ubuntu-latest
env:
TEST_LIBRARY: nodejs
steps:
- name: Checkout system tests
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Checkout dd-trace-js
uses: actions/checkout@v4
with:
path: 'binaries/dd-trace-js'
- name: Build
run: ./build.sh -i runner
- name: Run
run: ./run.sh PARAMETRIC
- name: Compress artifact
if: ${{ always() }}
run: tar -czvf artifact.tar.gz $(ls | grep logs)
- name: Upload artifact
uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: logs_parametric
path: artifact.tar.gz