chore(deps): bump docker/build-push-action from f2a1d5e99d037542a71f64918e516c093c6f3fc4 to cb8fc7586f9ad9441b20c33e0f6e8b1b58d8b4c6 #936
Workflow file for this run
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: Run Integrations Tests | |
| permissions: | |
| checks: write | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - michael.richey/regularly-run-integration-tests | |
| pull_request: | |
| branches: | |
| - main | |
| types: | |
| - labeled | |
| - unlabeled | |
| - opened | |
| - synchronize | |
| - reopened | |
| schedule: | |
| # Every day at 06:17 GMT | |
| - cron: '17 6 * * *' | |
| env: | |
| DD_DESTINATION_API_KEY: ${{ secrets.DD_DESTINATION_API_KEY }} | |
| DD_DESTINATION_APP_KEY: ${{ secrets.DD_DESTINATION_APP_KEY }} | |
| DD_DESTINATION_API_URL: ${{ secrets.DD_DESTINATION_API_URL }} | |
| DD_SOURCE_API_KEY: ${{ secrets.DD_SOURCE_API_KEY }} | |
| DD_SOURCE_APP_KEY: ${{ secrets.DD_SOURCE_APP_KEY }} | |
| DD_SOURCE_API_URL: ${{ secrets.DD_SOURCE_API_URL }} | |
| DD_HTTP_CLIENT_RETRY_TIMEOUT: 300 | |
| jobs: | |
| test-integrations: | |
| runs-on: ubuntu-latest | |
| services: | |
| datadog-agent: | |
| image: datadog/agent:latest | |
| ports: | |
| - 8126:8126 | |
| env: | |
| DD_API_KEY: ${{ secrets.DD_API_KEY }} | |
| DD_HOSTNAME: "none" | |
| DD_INSIDE_CI: "true" | |
| steps: | |
| - name: Install Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 | |
| with: | |
| python-version: 3.12 | |
| - name: Checkout code | |
| uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
| - name: Install tox | |
| run: pip install tox | |
| - name: Run integration tests | |
| run: tox -e integration | |
| env: | |
| DD_AGENT_HOST: localhost | |
| DD_ENV: ci | |
| DD_SERVICE: datadog-sync-cli | |
| DD_TAGS: "team:hamr" | |
| DD_TRACE_ANALYTICS_ENABLED: "true" | |
| RECORD: "none" | |
| PYTEST_ADDOPTS: "--ddtrace --disable-recording --retries 3 --retry-delay 10" | |