Skip to content

Commit

Permalink
add datadog env vars (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop authored Jul 17, 2023
1 parent d3deeb8 commit ea258bb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ jobs:
TOXENV: integration-${{ matrix.adapter }}
PYTEST_ADDOPTS: "-v --color=yes -n4 --csv integration_results.csv"
DBT_INVOCATION_ENV: github-actions
DD_CIVISIBILITY_AGENTLESS_ENABLED: true
DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}
DD_SITE: datadoghq.com
DD_ENV: ci
DD_SERVICE: ${{ github.event.repository.name }}

steps:
- name: Check out the repository
Expand Down Expand Up @@ -179,7 +184,7 @@ jobs:
DATAPROC_REGION: us-central1
DATAPROC_CLUSTER_NAME: dbt-test-1
GCS_BUCKET: dbt-ci
run: tox
run: tox -- --ddtrace

- uses: actions/upload-artifact@v3
if: always()
Expand Down
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-tests-adapter&subdirectory=
black~=23.3
bumpversion~=0.6.0
click~=8.1
ddtrace~=1.16
flake8~=6.0
flaky~=3.7
freezegun~=1.2
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ passenv =
PYTEST_ADDOPTS
DATAPROC_*
GCS_BUCKET
DD_SERVICE
DD_ENV
commands =
bigquery: {envpython} -m pytest {posargs} -vv tests/functional -k "not TestPython" --profile service_account
deps =
Expand All @@ -37,6 +39,8 @@ passenv =
PYTEST_ADDOPTS
DATAPROC_*
GCS_BUCKET
DD_SERVICE
DD_ENV
commands =
{envpython} -m pytest {posargs} -vv tests/functional -k "TestPython" --profile service_account
deps =
Expand Down

0 comments on commit ea258bb

Please sign in to comment.