diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 609aba00..d95ce0cc 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -170,3 +170,27 @@ jobs: disable_search: true token: ${{ secrets.CODECOV_TOKEN }} verbose: true + + build-system-tests-artifact: + runs-on: ubuntu-22.04 + steps: + - run: mkdir binaries + - run: echo "https://github.com/DataDog/dd-trace-cpp@${{ github.head_ref || github.ref_name }}" > binaries/cpp-load-from-git + - name: Save artifact + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: system_tests_binaries + path: ./binaries/**/* + + system-tests: + needs: build-system-tests-artifact + uses: DataDog/system-tests/.github/workflows/system-tests.yml@main + secrets: inherit + permissions: + contents: read + packages: write + with: + library: cpp + binaries_artifact: system_tests_binaries + parametric_job_count: 8 # dedicated parameter to speed up parametric job + scenarios: PARAMETRIC diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4eec77c8..db397874 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,21 +13,6 @@ jobs: contents: read packages: write - system-tests: - uses: DataDog/system-tests/.github/workflows/system-tests.yml@main - secrets: inherit - permissions: - contents: read - packages: write - with: - library: cpp - binaries_artifact: binaries - desired_execution_time: 300 # 5 minutes - scenarios: PARAMETRIC - skip_empty_scenarios: true - _system_tests_dev_mode: true - display_summary: true - # Ensure the main job is run to completion check-system-tests: needs: system-tests