@@ -758,25 +758,25 @@ jobs:
758
758
- image : cimg/node:24.3.0
759
759
working_directory : ~/remix-project
760
760
parameters :
761
- tag :
761
+ pattern :
762
762
type : string
763
763
steps :
764
764
- checkout
765
765
- run : node apps/remix-ide-e2e/src/buildGroupTests.js
766
766
- run :
767
767
name : Check for enabled tests matching tag
768
768
command : |
769
- TAG ="<< parameters.tag >>"
770
- if [ -z "$TAG " ]; then
769
+ PATTERN ="<< parameters.pattern >>"
770
+ if [ -z "$PATTERN " ]; then
771
771
echo "❌ Tag parameter is empty!"
772
772
exit 2
773
773
fi
774
- echo "🔍 Searching for enabled tests with .$TAG extension..."
775
- if grep -IRiL "'@disabled': \?true" "./apps/remix-ide-e2e/src/tests" | grep "\.${TAG }"; then
776
- echo "✅ Found enabled .$TAG tests."
774
+ echo "🔍 Searching for enabled tests with .$PATTERN extension..."
775
+ if grep -IRiL "'@disabled': \?true" "./apps/remix-ide-e2e/src/tests" | grep "${PATTEN }"; then
776
+ echo "✅ Found enabled .$PATTERN tests."
777
777
exit 0
778
778
else
779
- echo "⚠️ No enabled .$TAG tests found. Skipping workflow."
779
+ echo "⚠️ No enabled .$PATTERN tests found. Skipping workflow."
780
780
exit 1
781
781
fi
782
782
@@ -1006,11 +1006,31 @@ workflows:
1006
1006
- build-remixdesktop-linux
1007
1007
- test-remixdesktop-linux
1008
1008
1009
+ run_file_tests :
1010
+ when : << pipeline.parameters.run_file_tests >>
1011
+ jobs :
1012
+ - check-flaky-or-pr-tests :
1013
+ pattern : << pipeline.parameters.run_file_tests >>
1014
+ - build :
1015
+ requires :
1016
+ - check-flaky-or-pr-tests
1017
+ - remix-ide-browser :
1018
+ requires :
1019
+ - build
1020
+ matrix :
1021
+ parameters :
1022
+ browser : ["chrome"]
1023
+ script : ["singletest.sh"]
1024
+ job : ["nogroup"]
1025
+ jobsize : ["1"]
1026
+ parallelism : [1]
1027
+ scriptparameter : [<< pipeline.parameters.run_file_tests >>]
1028
+
1009
1029
run_pr_tests :
1010
1030
when : << pipeline.parameters.run_pr_tests >>
1011
1031
jobs :
1012
1032
- check-flaky-or-pr-tests :
1013
- tag : " pr"
1033
+ pattern : " \\ . pr"
1014
1034
- build :
1015
1035
requires :
1016
1036
- check-flaky-or-pr-tests
@@ -1024,13 +1044,13 @@ workflows:
1024
1044
job : ["nogroup"]
1025
1045
jobsize : ["1"]
1026
1046
parallelism : [1]
1027
- scriptparameter : ["pr"]
1047
+ scriptparameter : ["\\. pr"]
1028
1048
1029
1049
run_flaky_tests :
1030
1050
when : << pipeline.parameters.run_flaky_tests >>
1031
1051
jobs :
1032
1052
- check-flaky-or-pr-tests :
1033
- tag : " flaky"
1053
+ pattern : " \\ . flaky"
1034
1054
- build :
1035
1055
requires :
1036
1056
- check-flaky-or-pr-tests
@@ -1044,7 +1064,7 @@ workflows:
1044
1064
job : ["nogroup"]
1045
1065
jobsize : ["1"]
1046
1066
parallelism : [5]
1047
- scriptparameter : ["flaky"]
1067
+ scriptparameter : ["\\. flaky"]
1048
1068
1049
1069
run_metamask_tests :
1050
1070
when : << pipeline.parameters.run_metamask_tests >>
0 commit comments