diff --git a/.github/scripts/generateE2ETestMatrix.sh b/.github/scripts/generateE2ETestMatrix.sh index 55e126de..141c9fba 100644 --- a/.github/scripts/generateE2ETestMatrix.sh +++ b/.github/scripts/generateE2ETestMatrix.sh @@ -1,5 +1,5 @@ os_options=('ubuntu-latest' 'windows-latest') -node_options=('18' '20' '22' '24') +node_options=('24') ScriptsRoot="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" E2ETestConfigFile="$ScriptsRoot/../config/e2eTestConfig.json" @@ -9,7 +9,7 @@ matrix_json="{\"include\":[" while read -r config; do rand_os=${os_options[$((RANDOM % 2))]} # Random OS for each test - rand_node=${node_options[$((RANDOM % 4))]} # Random Node version for each test + rand_node=${node_options[$((RANDOM % 1))]} # Random Node version for each test configFile=$(echo "$config" | jq -r '.configFile') secrets=$(echo "$config" | jq -r '.secrets') @@ -21,4 +21,4 @@ done <<< "$(echo -e "$configs")" matrix_json="${matrix_json::-1}]}" # Remove trailing comma echo "Generated Matrix: $matrix_json" -echo "::set-output name=matrix::$matrix_json" # Set matrix output \ No newline at end of file +echo "::set-output name=matrix::$matrix_json" # Set matrix output diff --git a/.github/workflows/pr_check_load_test.yml b/.github/workflows/pr_check_load_test.yml index c534a49d..b4c21e72 100644 --- a/.github/workflows/pr_check_load_test.yml +++ b/.github/workflows/pr_check_load_test.yml @@ -98,12 +98,12 @@ jobs: - name: Set Env vars id: env run: | - env="${{ matrix.env }}" + env="${{ matrix.env }}" echo "::set-output name=env::$(echo "$env" | sed "s/'/\"/g")" shell : bash - name: 'Azure Load Testing' - uses: ./ + uses: azure/load-testing@v1 # v1.2.6 id: alt with: loadTestConfigFile: ./E2ETests/ConfigFiles/${{ matrix.configFile }}