Functional tests #1180
This file contains hidden or 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: Functional tests | |
on: | |
workflow_dispatch: | |
push: | |
branches-ignore: | |
- main | |
schedule: | |
- cron: "0 5 * * *" | |
jobs: | |
set_datadog_team: | |
name: 'Set Datadog team' | |
uses: fingerprintjs/dx-team-toolkit/.github/workflows/set-datadog-team.yml@v1 | |
secrets: | |
DD_API_KEY: ${{ secrets.INTEGRATIONS_DATADOG_API_KEY }} | |
functional_tests: | |
name: Functional tests for Python ${{ matrix.python-version }} | |
runs-on: "ubuntu-latest" | |
environment: test | |
strategy: | |
fail-fast: false | |
max-parallel: 1 | |
matrix: | |
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9", "pypy3.10" ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: "Install dependencies" | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: "Try to get data using SDK" | |
run: "python ./run_checks.py" | |
env: | |
PRIVATE_KEY: "${{ secrets.PRIVATE_KEY }}" |