Skip to content

Commit

Permalink
Fix hardware tag retrieval issue (#916)
Browse files Browse the repository at this point in the history
Signed-off-by: ZePan110 <[email protected]>
  • Loading branch information
ZePan110 authored Nov 19, 2024
1 parent dca337d commit 8121602
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/_run-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ jobs:
cd ${{ github.workspace }}/tests
test_cases=$(find . -type f -name "test_${service_l}*.sh")
for script in $test_cases; do
echo $script
if echo "$script" | grep -q "on"; then
hardware=$(echo $script | cut -d'/' -f3 | cut -d'.' -f1 | awk -F'on_' '{print $2}')
if echo "$script" | grep -q "_on"; then
hardware=$(echo $script | cut -d'/' -f3 | cut -d'.' -f1 | awk -F'_on_' '{print $2}')
else
hardware="intel_cpu"
fi
Expand Down

0 comments on commit 8121602

Please sign in to comment.