Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/scripts/generateE2ETestMatrix.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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')
Expand All @@ -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
echo "::set-output name=matrix::$matrix_json" # Set matrix output
4 changes: 2 additions & 2 deletions .github/workflows/pr_check_load_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
Loading