Skip to content

Commit

Permalink
Add language transform workflows to CI/CD tests
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Roytman <[email protected]>
  • Loading branch information
roytman committed Aug 20, 2024
1 parent 63964d6 commit c4aac6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:
make -C $K8S_SETUP_SCRIPTS setup
make -C kfp/kfp_support_lib test
make -C transforms workflow-build
dir=("code" "universal") && index=$(($RANDOM % 2)) && subdirs=${dir[$index]} && transforms=($(find transforms/$subdirs/ -type d -maxdepth 1 ))
dir=("code" "universal" "language") && index=$(($RANDOM % 3)) && subdirs=${dir[$index]} && transforms=($(find transforms/$subdirs/ -type d -maxdepth 1 ))
# First element is not really a subdir but rather the current dir so remove it and randomly choose a transform to run
set -- "${transforms[@]}" && shift && transforms=("$@") && size=${#transforms[@]} && index=$(($RANDOM % $size))
source $K8S_SETUP_SCRIPTS/common.sh
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
make -C $K8S_SETUP_SCRIPTS setup
make -C kfp/kfp_support_lib test
make -C transforms workflow-build
dir=("code" "universal") && index=$(($RANDOM % 2)) && subdirs=${dir[$index]} && transforms=($(find transforms/$subdirs/ -type d -maxdepth 1 ))
dir=("code" "universal" "language") && index=$(($RANDOM % 3)) && subdirs=${dir[$index]} && transforms=($(find transforms/$subdirs/ -type d -maxdepth 1 ))
# First element is not really a subdir but rather the current dir so remove it and randomly choose a transform to run
set -- "${transforms[@]}" && shift && transforms=("$@") && size=${#transforms[@]} && index=$(($RANDOM % $size))
source $K8S_SETUP_SCRIPTS/common.sh
Expand Down

0 comments on commit c4aac6f

Please sign in to comment.