File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -763,9 +763,14 @@ jobs:
763
763
- run :
764
764
name : Check for enabled tests matching tag
765
765
command : |
766
- echo "🔍 Searching for enabled tests with .$<< parameters.tag >> extension..."
767
- if grep -IRiL "'@disabled': \?true" "dist/apps/remix-ide-e2e/src/tests" | grep "\.${<< parameters.tag >>}"; then
768
- echo "✅ Found enabled .$<< parameters.tag >> tests."
766
+ TAG="<< parameters.tag >>"
767
+ if [ -z "$TAG" ]; then
768
+ echo "❌ Tag parameter is empty!"
769
+ exit 2
770
+ fi
771
+ echo "🔍 Searching for enabled tests with .$TAG extension..."
772
+ if grep -IRiL "'@disabled': \?true" "dist/apps/remix-ide-e2e/src/tests" | grep "\.${TAG}"; then
773
+ echo "✅ Found enabled .$TAG tests."
769
774
exit 0
770
775
else
771
776
echo "⚠️ No enabled .$<< parameters.tag >> tests found. Skipping workflow."
You can’t perform that action at this time.
0 commit comments