File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1111 docker-tag :
1212 name : Check if 'latest' tag could be used (no build docker images)
1313 runs-on : ubuntu-latest
14+ needs : pre-commit-check
1415 outputs :
1516 tag : ${{ steps.tag.outputs.tag }}
1617 steps :
@@ -47,13 +48,13 @@ jobs:
4748 TF_TEST_REQUIRED='false'
4849
4950 for file in ${ALL_CHANGED_FILES}; do
50- if [[ $file == $AIMET_TORCH_SRC_CODE ]]; then
51+ if [[ " $file" == " $AIMET_TORCH_SRC_CODE"* ]]; then
5152 TORCH_TEST_REQUIRED='true'
52- elif [[ $file == $AIMET_ONNX_SRC_CODE ]]; then
53+ elif [[ " $file" == " $AIMET_ONNX_SRC_CODE"* ]]; then
5354 ONNX_TEST_REQUIRED='true'
54- elif [[ $file == $AIMET_TF_SRC_CODE ]]; then
55+ elif [[ " $file" == " $AIMET_TF_SRC_CODE"* ]]; then
5556 TF_TEST_REQUIRED='true'
56- elif [[ $file == $DOC_SRC_CODE ]]; then
57+ elif [[ " $file" == " $DOC_SRC_CODE"* ]]; then
5758 : # Documentation change doesn't require running unit tests; only doc rebuild is needed
5859 else
5960 TORCH_TEST_REQUIRED='true'
You can’t perform that action at this time.
0 commit comments