We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4a9523 commit d7e5afbCopy full SHA for d7e5afb
1 file changed
.github/workflows/ui.yml
@@ -82,6 +82,26 @@ jobs:
82
for file in ${{ steps.changed-files.outputs.changed_files }}; do
83
echo "$file was changed"
84
done
85
+ - name: Filter and format changed files for cypress
86
+ shell: python # quicker to use than node, since node would require a longer installation step
87
+ run: |
88
+ changed_files = "${{ steps.changed_files.outputs.changed_files }}"
89
+
90
+ print(changed_files)
91
92
+ import re
93
94
+ complete_specs_list = ''
95
96
+ for file in changed_files:
97
+ if re.match(r'.+\.cy\.js', file):
98
+ complete_specs_list += file + ' '
99
100
+ print(complete_specs_list)
101
+ import os
102
+ output = open(os.environ['GITHUB_OUTPUT'], 'a')
103
+ output.write("specs-list=" + complete_specs_list + "\n")
104
+ output.close()
105
106
install:
107
name: Install
0 commit comments