From 141f944c7280314ec80fd86a12358e578fa25e70 Mon Sep 17 00:00:00 2001 From: Miki Date: Fri, 20 Dec 2024 13:27:20 -0800 Subject: [PATCH] w Signed-off-by: Miki --- .github/workflows/cypress12_tests.yml | 18 ------------------ .github/workflows/cypress_tests_workflow.yml | 6 +++--- 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/.github/workflows/cypress12_tests.yml b/.github/workflows/cypress12_tests.yml index 64b8a80c6365..dddd7f33d293 100644 --- a/.github/workflows/cypress12_tests.yml +++ b/.github/workflows/cypress12_tests.yml @@ -1,24 +1,6 @@ name: Cypress 12 experimental tests -on: - push: - branches: ['**'] # Run the functional test on push for only release branches - paths-ignore: - - '**/*.md' - - 'docs/**' - - '.lycheeignore' - - 'CODEOWNERS' - - 'changelogs/fragments/**' - pull_request: - branches: ['**'] - paths-ignore: - - '**/*.md' - - 'docs/**' - - '.lycheeignore' - - 'CODEOWNERS' - - 'changelogs/fragments/**' - env: CYPRESS_BROWSER: 'chromium' CYPRESS_VISBUILDER_ENABLED: true diff --git a/.github/workflows/cypress_tests_workflow.yml b/.github/workflows/cypress_tests_workflow.yml index b9e24e3494bc..f3ed9577eb31 100644 --- a/.github/workflows/cypress_tests_workflow.yml +++ b/.github/workflows/cypress_tests_workflow.yml @@ -46,10 +46,10 @@ jobs: - name: Trigger tests for combinations run: | - for combo in "${COMBINATIONS[@]}"; do - echo "Triggering tests with combination: ${combo[*]}" + echo "$COMBINATIONS" | jq -c '.[]' | while read -r combo; do + echo "Triggering tests for $folder_name with combination: $combo" inputs="" - for var in "${combo[@]}"; do + echo $combo | jq -r '.[]' | while read -r var; do inputs="$inputs -f $var=true" done echo "Input: ${inputs}"