diff --git a/.github/workflows/system-tests.yml b/.github/workflows/system-tests.yml index 0ecf961f10c..44e0455ed1a 100644 --- a/.github/workflows/system-tests.yml +++ b/.github/workflows/system-tests.yml @@ -27,18 +27,12 @@ jobs: path: ./binaries/**/* get-essential-scenarios: - runs-on: ubuntu-latest - outputs: - scenario: ${{ steps.parse-yml.outputs.scenario }} - steps: - - name: Checkout system tests - uses: actions/checkout@v4 - with: - repository: 'DataDog/system-tests' - - name: Get Essential Scenarios - id: parse-yml - run: yq -o tsv .TRACER_ESSENTIAL_SCENARIOS ./scenario_groups.yml | xargs node -p "x=process.argv;x.shift();x.push('CROSSED_TRACING_LIBRARIES');'scenario='+JSON.stringify(x)" >> $GITHUB_OUTPUT - + name: Get parameters + uses: DataDog/system-tests/.github/workflows/compute-workflow-parameters.yml@main + with: + library: nodejs + scenarios: CROSSED_TRACING_LIBRARIES + scenarios_groups: essentials system-tests: runs-on: ${{ contains(fromJSON('["CROSSED_TRACING_LIBRARIES", "INTEGRATIONS"]'), matrix.scenario) && 'ubuntu-latest-16-cores' || 'ubuntu-latest' }} @@ -46,11 +40,8 @@ jobs: - get-essential-scenarios strategy: matrix: - weblog-variant: - - express4 - - express4-typescript - - nextjs - scenario: ${{fromJson(needs.get-essential-scenarios.outputs.scenario)}} + weblog-variant: ${{fromJson(needs.get-essential-scenarios.outputs.endtoend_weblogs)}} + scenario: ${{fromJson(needs.get-essential-scenarios.outputs.endtoend_scenarios)}} env: TEST_LIBRARY: nodejs