-
Notifications
You must be signed in to change notification settings - Fork 22
Run tests on a schedule and integrate with Datadog's test optimization product #342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 19 commits
5842786
d7f5799
266ea37
58c80e0
50af3a0
d7e7527
8dfb907
2e320bc
0da283c
ceb9ec3
28cfd17
c67e078
553a0ff
beecfa4
524e7fe
918db69
823b3f7
76d77d2
d6f6936
f558a13
64380b2
7ddbee7
c835de1
defdb83
4308c0b
516278c
b8a93aa
b846f5d
15c374a
d2ec8c2
a770634
c689cb7
9b105ef
2ff03aa
7bf5c6b
a20d372
9d3275b
944bdaa
6a534b4
0484e7f
0cfbd7b
4be2b7d
a4261da
a29d267
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| name: Datadog Test Optimization | ||
|
|
||
| permissions: | ||
| checks: write | ||
| contents: read | ||
|
|
||
| on: push | ||
|
|
||
| env: | ||
| DD_API_KEY: ${{ secrets.DD_API_KEY }} | ||
| 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 }} | ||
| RECORD: false | ||
|
|
||
| jobs: | ||
| test-optimization: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Install Python | ||
| uses: actions/[email protected] | ||
| with: | ||
| python-version: 3.12 | ||
| - name: Checkout code | ||
| uses: actions/checkout@v2 | ||
| - name: Install requirements | ||
| run: | | ||
| python -m pip install . | ||
| python -m pip install -r scripts/test_requirements.txt | ||
| - name: Configure Datadog Test Optimization | ||
| uses: datadog/[email protected] | ||
| with: | ||
| languages: python | ||
| api_key: ${{env.DD_API_KEY}} | ||
| site: datadoghq.com | ||
| - name: Run tests | ||
| shell: bash | ||
| run: pytest | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| boto3==1.35.91 | ||
| click==8.1.7 | ||
| configobj==5.0.8 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| deepdiff==6.7.1 | ||
| aiohttp==3.9.5 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| tqdm==4.66.2 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| certifi>=2022.12.7 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| python-dateutil | ||
| setuptools>=67.6.0 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| setuptools_scm | ||
| ddtrace==2.21.1 | ||
| black==24.3.0 | ||
| pytest==8.1.1 | ||
| pytest-black | ||
| pytest-console-scripts | ||
| pytest-recording | ||
| vcrpy@git+https://github.com/skarimo/vcrpy.git | ||
| freezegun==1.5.0 | ||
Uh oh!
There was an error while loading. Please reload this page.