Skip to content

Commit d06d378

Browse files
committed
tag fix
1 parent 22fdea0 commit d06d378

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.circleci/config.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -763,9 +763,14 @@ jobs:
763763
- run:
764764
name: Check for enabled tests matching tag
765765
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."
769774
exit 0
770775
else
771776
echo "⚠️ No enabled .$<< parameters.tag >> tests found. Skipping workflow."

0 commit comments

Comments
 (0)