Skip to content

Commit c16a7de

Browse files
committed
run system-tests on pull requests
1 parent 7a55843 commit c16a7de

2 files changed

Lines changed: 24 additions & 15 deletions

File tree

.github/workflows/dev.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,3 +170,27 @@ jobs:
170170
disable_search: true
171171
token: ${{ secrets.CODECOV_TOKEN }}
172172
verbose: true
173+
174+
build-system-tests-artifact:
175+
runs-on: ubuntu-22.04
176+
steps:
177+
- run: mkdir binaries
178+
- run: echo "https://github.com/DataDog/dd-trace-cpp@main" > binaries/cpp-load-from-git
179+
- name: Save artifact
180+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
181+
with:
182+
name: system_tests_binaries
183+
path: ./binaries/**/*
184+
185+
system-tests:
186+
needs: build-system-tests-artifact
187+
uses: DataDog/system-tests/.github/workflows/system-tests.yml@main
188+
secrets: inherit
189+
permissions:
190+
contents: read
191+
packages: write
192+
with:
193+
library: cpp
194+
binaries_artifact: system_tests_binaries
195+
parametric_job_count: 8 # dedicated parameter to speed up parametric job
196+
scenarios: PARAMETRIC

.github/workflows/main.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,6 @@ jobs:
1313
contents: read
1414
packages: write
1515

16-
system-tests:
17-
uses: DataDog/system-tests/.github/workflows/system-tests.yml@main
18-
secrets: inherit
19-
permissions:
20-
contents: read
21-
packages: write
22-
with:
23-
library: cpp
24-
binaries_artifact: binaries
25-
desired_execution_time: 300 # 5 minutes
26-
scenarios: PARAMETRIC
27-
skip_empty_scenarios: true
28-
_system_tests_dev_mode: true
29-
display_summary: true
30-
3116
# Ensure the main job is run to completion
3217
check-system-tests:
3318
needs: system-tests

0 commit comments

Comments
 (0)