Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Koenig <[email protected]>
  • Loading branch information
ko3n1g committed May 21, 2024
1 parent 5856cfa commit b2c45fd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,16 @@ jobs:
local list_of_items="$1" # The list of items as a string
IFS=' ' read -a test_subsets <<< "${{ steps.validate.outputs.test_subset }}"
contains=0
for test_subset in "${test_subsets[@]}"; do
if [[ $test_subset == "" || "$list_of_items" != *"$test_subset"* ]]; then
echo "false"
contains=$(( $contains | 0 ))
else
echo "true"
contains=$(( $contains | 1 ))
fi
done
[[ $contains -eq 1 ]] && echo "true" || echo "false"
}
echo BUILD_TRITON=$(if_testset_in "base jax triton") >> $GITHUB_OUTPUT
Expand Down

0 comments on commit b2c45fd

Please sign in to comment.