Skip to content

Commit 2ff03aa

Browse files
Try through tox
1 parent 9b105ef commit 2ff03aa

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/datadog_test_optimization.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ env:
2323
DD_SOURCE_APP_KEY: ${{ secrets.DD_SOURCE_APP_KEY }}
2424
DD_SOURCE_API_URL: ${{ secrets.DD_SOURCE_API_URL }}
2525
RECORD: false
26+
PYTEST_ADDOPTS: "--ddtrace"
27+
DD_ENV: ci
28+
DD_SERVICE: datadog-sync-cli
29+
DD_TAGS: "team:hamr"
30+
DD_TRACE_ANALYTICS_ENABLED: "true"
2631

2732
jobs:
2833
test-optimization:
@@ -41,13 +46,7 @@ jobs:
4146
run: |
4247
python -m pip install .
4348
python -m pip install ddtrace
49+
python -m pip install tox
4450
python -m pip install -r scripts/test_requirements.txt
45-
# - name: Configure Datadog Test Optimization
46-
# uses: datadog/test-visibility-github-action@fa5d4c02a5f2329cf2c62a70fd8ec532317af1c9
47-
# with:
48-
# languages: python
49-
# api_key: ${{env.DD_API_KEY}}
50-
# site: datadoghq.com
51-
- name: Run tests
52-
shell: bash
53-
run: pytest --ddtrace
51+
- name: Run unit tests
52+
run: tox -e py312

0 commit comments

Comments
 (0)