Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Chiu <[email protected]>
  • Loading branch information
yangchiu committed Aug 20, 2024
1 parent 05e57aa commit b6312de
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/qase-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
for file in "${files[@]}"; do
echo "file = $file"
if [[ "${file}" == *"/manual/"* ]] && [[ "${file}" != *"_index"* ]]; then
echo "test cases += ${file}"
test_cases+=("$file")
test_case=$(echo "${file#*manual/}")
test_cases+=("test_case")
fi
done
echo "test_case = ${test_cases[@]}"
echo "collected test cases: ${test_cases[@]}"
echo "test_cases=${test_cases[@]}" >> $GITHUB_ENV
echo "test_cases_length=${#test_cases[@]}" >> $GITHUB_ENV
Expand All @@ -46,11 +46,10 @@ jobs:
test_cases: ${{ env.test_cases }}
run: |
test_cases=(${test_cases})
for file_path in "${test_cases[@]}"; do
for test_case in "${test_cases[@]}"; do
test_case_path=$(echo "${file_path#*manual/}")
echo "processing test case: ${test_case_path}"
IFS='/' read -ra arr <<< "$test_case_path"
echo "processing test case: ${test_case}"
IFS='/' read -ra arr <<< "${test_case}"
parent_suite_id=""
Expand Down

0 comments on commit b6312de

Please sign in to comment.