This repository has been archived by the owner on Nov 9, 2024. It is now read-only.
Keep screen on while viewing a recipe #256
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
name: Check | |
on: [ pull_request ] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | |
with: | |
fetch-depth: 0 | |
- uses: ashutoshgngwr/validate-fastlane-supply-metadata@d03bc88bf15d7c2ef8682fa057afbf2e4bc85fb4 | |
with: | |
fastlaneDir: ./fastlane/metadata/android | |
usePlayStoreLocales: true | |
- uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 | |
- name: Run tests | |
env: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
run: ./gradlew check coverageReport sonar --no-configuration-cache --no-daemon | |
- name: Publish test reports | |
uses: mikepenz/action-junit-report@959aefb7f095e717eb407fe917238d61ca323ff3 | |
if: always() # always run even if the previous step fails | |
with: | |
report_paths: './**/build/test-results/**/TEST-*.xml' | |
uiTests: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@7c5672355aaa8fde5f97a91aa9a99616d1ace6bc | |
- name: Run tests | |
run: ./gradlew allDevicesCheck --no-daemon -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" |