Skip to content

Commit cb44288

Browse files
authored
🚀 Enabled Test target
1 parent 44f3765 commit cb44288

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/macos.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
3030
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
3131
xcodebuild build-for-testing -scheme "$scheme" -"$filetype_parameter" "$file_to_build" -destination "platform=$platform"
32-
# - name: Test
33-
# env:
34-
# scheme: ${{ 'default' }}
35-
# platform: ${{ 'macOS' }}
36-
# run: |
37-
# if [ $scheme = default ]; then scheme=$(cat default); fi
38-
# if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
39-
# file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
40-
# xcodebuild test-without-building -scheme "$scheme" -"$filetype_parameter" "$file_to_build" -destination "platform=$platform"
32+
- name: Test
33+
env:
34+
scheme: ${{ 'LSFileWrapperTests' }}
35+
platform: ${{ 'macOS' }}
36+
run: |
37+
if [ $scheme = default ]; then scheme=$(cat default); fi
38+
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
39+
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
40+
xcodebuild test -scheme "$scheme" -"$filetype_parameter" "$file_to_build" -destination "platform=$platform"

0 commit comments

Comments
 (0)