Skip to content

Commit 968aa4e

Browse files
committed
Add nightly system-tests configuration
Run the tracer_release scenario group on schedule and push to main, keep appsec for pull requests. Upload all results to Test Optimization. Made-with: Cursor
1 parent 6fd23fc commit 968aa4e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/system_tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
branches:
99
- "**"
1010

11+
1112
jobs:
1213
build:
1314
runs-on: ubuntu-latest
@@ -27,12 +28,15 @@ jobs:
2728
needs:
2829
- build
2930
uses: DataDog/system-tests/.github/workflows/system-tests.yml@main
30-
secrets: inherit
31+
secrets:
32+
DD_API_KEY: ${{ secrets.DD_API_KEY }}
33+
TEST_OPTIMIZATION_API_KEY: ${{ secrets.DD_API_KEY }}
3134
permissions:
3235
contents: read
3336
packages: write
3437
with:
3538
library: python_lambda
3639
binaries_artifact: binaries
37-
scenarios_groups: appsec
40+
scenarios_groups: ${{ github.event_name == 'push' && 'tracer_release' || 'appsec' }}
3841
skip_empty_scenarios: true
42+
push_to_test_optimization: true

0 commit comments

Comments
 (0)