Skip to content

Commit 1c1a858

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 1c1a858

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/system_tests.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
pull_request:
88
branches:
99
- "**"
10+
workflow_dispatch: {}
11+
schedule:
12+
- cron: '00 04 * * 2-6'
1013

1114
jobs:
1215
build:
@@ -27,12 +30,15 @@ jobs:
2730
needs:
2831
- build
2932
uses: DataDog/system-tests/.github/workflows/system-tests.yml@main
30-
secrets: inherit
33+
secrets:
34+
DD_API_KEY: ${{ secrets.DD_API_KEY }}
35+
TEST_OPTIMIZATION_API_KEY: ${{ secrets.DD_API_KEY }}
3136
permissions:
3237
contents: read
3338
packages: write
3439
with:
3540
library: python_lambda
3641
binaries_artifact: binaries
37-
scenarios_groups: appsec
42+
scenarios_groups: ${{ (github.event_name == 'schedule' || github.event_name == 'push') && 'tracer_release' || 'appsec' }}
3843
skip_empty_scenarios: true
44+
push_to_test_optimization: true

0 commit comments

Comments
 (0)