fix error in http2 plugin when it was enabled after request start #8754
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: 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 | |
env: | |
TEST_LIBRARY: nodejs | |
WEBLOG_VARIANT: ${{ matrix.weblog-variant }} | |
DD_API_KEY: ${{ secrets.DD_API_KEY }} | |
steps: | |
- name: Checkout system tests | |
uses: actions/checkout@v3 | |
with: | |
repository: 'DataDog/system-tests' | |
- name: Checkout dd-trace-js | |
uses: actions/checkout@v3 | |
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 | |
NODEJS_DDTRACE_MODULE: datadog/dd-trace-js#${{ github.sha }} | |
steps: | |
- name: Checkout system tests | |
uses: actions/checkout@v3 | |
with: | |
repository: 'DataDog/system-tests' | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- 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 |