Implement error message handling for ui #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
branches: | |
- 'develop' | |
jobs: | |
android-build-check-and-shared-tests: | |
name: Build android app and run shared tests. | |
runs-on: ubuntu-latest | |
env: | |
API_KEY_TMDB: '' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'oracle' | |
java-version: '17.0.5' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
gradle-version: 8.4 | |
- name: Build androidApp | |
run: gradle :androidApp:buildDebug | |
- name: Run unit tests | |
run: gradle :shared:testDebugUnitTest | |
ios-build-check: | |
name: Build iosApp | |
runs-on: macos-latest | |
env: | |
API_KEY_TMDB: '' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Set up Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'oracle' | |
java-version: '17.0.5' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
gradle-version: 8.4 | |
- name: Generate framework file | |
run: gradle :shared:generateDummyFramework | |
- name: Set up cocoapods | |
uses: maxim-lobanov/setup-cocoapods@v1 | |
with: | |
version: latest | |
- name: Build xcworkspace | |
run: gradle podInstall | |
- name: Build iosApp | |
run: xcodebuild clean build -workspace iosApp/iosApp.xcworkspace -scheme iosApp -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.2' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | |
#- name: Run Ios tests | |
# run: bash xcodebuild test -workspace iosApp/iosApp.xcworkspace -scheme iosApp -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.0' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO |