Skip to content

Commit

Permalink
Merge pull request #73 from mkko/fix/ui-tests
Browse files Browse the repository at this point in the history
Disable UI tests
  • Loading branch information
mkko authored Jul 26, 2024
2 parents df644b6 + 5b5494b commit 1dfddfd
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 20 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ui_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Run UI tests

on:

jobs:
ui-test:
name: Run UI tests
runs-on: macos-latest
on: []

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Bundle Install
run: |
bundle install
- name: Test UI
run: |
bundle exec fastlane test_ui
- name: Archive UI test results on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-results
path: artifacts/
20 changes: 0 additions & 20 deletions .github/workflows/xcode.yml → .github/workflows/xcode_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,3 @@ 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
- name: Archive UI test results on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-results
path: artifacts/

0 comments on commit 1dfddfd

Please sign in to comment.