Skip to content

Commit

Permalink
Update manual test. (opea-project#684)
Browse files Browse the repository at this point in the history
* Update manual test.

Signed-off-by: ZePan110 <[email protected]>

* Update script folder.

Signed-off-by: ZePan110 <[email protected]>

* Change Matching Rules

Signed-off-by: ZePan110 <[email protected]>

---------

Signed-off-by: ZePan110 <[email protected]>
  • Loading branch information
ZePan110 authored Sep 13, 2024
1 parent 0f2c2b1 commit 2794abd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_run-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
set -x
service_l=$(echo ${{ inputs.service }} | tr '[:upper:]' '[:lower:]')
cd ${{ github.workspace }}/tests
test_cases=$(find . -type f -name "test_${service_l}*.sh" -print | cut -d/ -f2 | jq -R '.' | jq -sc '.')
test_cases=$(find . -type f -name "test_${service_l}*.sh" -print | jq -R '.' | jq -sc '.')
echo "test_cases=$test_cases" >> $GITHUB_OUTPUT
run-test:
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
test_case: ${{ matrix.test_case }}
run: |
cd ${{ github.workspace }}/tests
service=$(echo "${test_case}" | sed 's/test_\(.*\)\.sh/\1/')
service=$(echo "${test_case}" | cut -d'_' -f2- |cut -d'.' -f1)
echo "service=${service}" >> $GITHUB_ENV
if [ -f ${test_case} ]; then timeout 30m bash ${test_case}; else echo "Test script {${test_case}} not found, skip test!"; fi
Expand Down

0 comments on commit 2794abd

Please sign in to comment.