Skip to content

Commit

Permalink
Merge pull request #69 from mkko/feature/ui-tests
Browse files Browse the repository at this point in the history
UI tests
  • Loading branch information
mkko authored Jul 20, 2024
2 parents f9f4ddc + db3172c commit be4d097
Show file tree
Hide file tree
Showing 20 changed files with 1,488 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/xcode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set Default Scheme
run: |
scheme_list=$(xcodebuild -list -json | tr -d "\n")
Expand All @@ -28,3 +28,17 @@ jobs:
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
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
xcodebuild clean build analyze -scheme "$scheme" -"$filetype_parameter" "$file_to_build" | xcpretty && exit ${PIPESTATUS[0]}
ui-test:
name: Run UI tests
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Bundle Install
run: |
bundle install
- name: Test UI
run: |
bundle exec fastlane test_ui
10 changes: 10 additions & 0 deletions DrawerView.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions DrawerView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Loading

0 comments on commit be4d097

Please sign in to comment.