add patchall #12
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: GHA auto-instrumented Tests | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
tests: | |
name: ${{ matrix.name }} | |
environment: ci | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- {name: Linux, python: '3.12', os: ubuntu-latest } | |
- {name: Windows, python: '3.12', os: windows-latest} | |
- {name: Mac, python: '3.12', os: macos-latest} | |
- {name: '3.11', python: '3.11', os: ubuntu-latest} | |
- {name: '3.10', python: '3.10', os: ubuntu-latest} | |
- {name: '3.9', python: '3.9', os: ubuntu-latest} | |
- {name: '3.8', python: '3.8', os: ubuntu-latest} | |
- {name: 'Minimum Versions', python: '3.12', os: ubuntu-latest} | |
- {name: 'Development Versions', python: '3.8', os: ubuntu-latest} | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c | |
with: | |
python-version: ${{ matrix.python }} | |
cache: 'pip' | |
cache-dependency-path: requirements*/*.txt | |
- name: Configure Datadog Test Visibility | |
uses: nikita-tkachenko-datadog/gha-composite-test@v44 | |
with: | |
languages: python | |
service-name: flask-auto-instrumented | |
api-key: ${{ secrets.DD_API_KEY }} | |
- run: ls -l .dd_civis_env | |
- run: pip install -r requirements/tests.txt -e . | |
- run: pip list -v | |
- run: pytest --ddtrace-patch-all | |
env: | |
DD_SITE: ${{ vars.DD_SITE }} |