Skip to content

Commit

Permalink
Improve iOS project
Browse files Browse the repository at this point in the history
  • Loading branch information
felipejoglar committed Jan 5, 2024
1 parent 8c8ae7e commit 827b0c2
Show file tree
Hide file tree
Showing 13 changed files with 137 additions and 123 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
uses: ./.github/actions/gradle-setup

- name: Build
run: ./gradlew apps:android:app:clean apps:android:app:assemble --scan
run: ./gradlew apps:android:app:clean apps:android:app:assemble

unit-tests:
name: Unit Tests
Expand All @@ -74,7 +74,7 @@ jobs:
uses: ./.github/actions/gradle-setup

- name: Run Unit tests
run: ./gradlew apps:android:app:clean apps:android:app:test --scan
run: ./gradlew apps:android:app:clean apps:android:app:test

ui-tests:
name: Instrumentation Tests
Expand Down Expand Up @@ -135,4 +135,4 @@ jobs:
ram-size: 4096M
emulator-boot-timeout: 12000
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -no-snapshot-save
script: ./gradlew apps:android:app:clean apps:android:app:connectedAndroidTest --scan
script: ./gradlew apps:android:app:clean apps:android:app:connectedAndroidTest
10 changes: 5 additions & 5 deletions .github/workflows/ios_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ concurrency:
jobs:
build:
name: Build
runs-on: macos-13
runs-on: macos-13-xl
timeout-minutes: 15

steps:
Expand All @@ -46,12 +46,12 @@ jobs:
uses: ./.github/actions/xcode-setup

- name: Build
run: sudo xcodebuild clean build -workspace apps/ios/Taskodoro.xcworkspace -scheme "CI" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk iphonesimulator -destination "platform=iOS Simulator,name=${{ env.IOS_DEVICE }},OS=${{ env.IOS_VERSION }}" ONLY_ACTIVE_ARCH=YES
run: sudo xcodebuild clean build -project apps/ios/app/app.xcodeproj -scheme "CI" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk iphonesimulator -destination "platform=iOS Simulator,name=${{ env.IOS_DEVICE }},OS=${{ env.IOS_VERSION }}" ONLY_ACTIVE_ARCH=YES

unit-tests:
name: Unit Tests
needs: [build]
runs-on: macos-13
needs: [ build ]
runs-on: macos-13-xl
timeout-minutes: 15

steps:
Expand All @@ -65,4 +65,4 @@ jobs:
uses: ./.github/actions/xcode-setup

- name: Run Unit Tests
run: sudo xcodebuild clean test -workspace apps/ios/Taskodoro.xcworkspace -scheme "CI" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk iphonesimulator -destination "platform=iOS Simulator,name=${{ env.IOS_DEVICE }},OS=${{ env.IOS_VERSION }}" ONLY_ACTIVE_ARCH=YES
run: sudo xcodebuild clean test -project apps/ios/app/app.xcodeproj -scheme "CI" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk iphonesimulator -destination "platform=iOS Simulator,name=${{ env.IOS_DEVICE }},OS=${{ env.IOS_VERSION }}" ONLY_ACTIVE_ARCH=YES
Loading

0 comments on commit 827b0c2

Please sign in to comment.