Skip to content

Commit

Permalink
Merge branch 'master' into fix-doc-build
Browse files Browse the repository at this point in the history
  • Loading branch information
majorgreys authored Feb 7, 2022
2 parents eb5baff + 75ead85 commit 50ee8df
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: System Tests

on:
pull_request:
workflow_dispatch: {}
schedule:
- cron: '00 04 * * 2-6'
push:
branches:
- master

jobs:
system-tests:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- weblog-variant: flask-poc
- weblog-variant: uwsgi-poc
- weblog-variant: django-poc
fail-fast: false
env:
TEST_LIBRARY: python
WEBLOG_VARIANT: ${{ matrix.weblog-variant }}
DD_API_KEY: ${{ secrets.DD_API_KEY }}
steps:
- name: Checkout system tests
uses: actions/checkout@v2
with:
repository: 'DataDog/system-tests'

- name: Checkout dd-trace-py
uses: actions/checkout@v2
with:
path: 'binaries/dd-trace-py'

- name: Build
run: ./build.sh

- name: Run
run: ./run.sh

# even on failures, we want to have artifact to be able to investigate
# The compress step speed up a lot the uplaod artifact process
- 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_${{ matrix.weblog-variant }}
path: artifact.tar.gz

0 comments on commit 50ee8df

Please sign in to comment.