Issue#104 Change to Manual trigger and revert back temporary changes
This commit is contained in:
parent
bae8c0fc96
commit
b7e3cc493a
3 changed files with 60 additions and 61 deletions
114
.github/workflows/pull-request-jobs.yml
vendored
114
.github/workflows/pull-request-jobs.yml
vendored
|
|
@ -74,60 +74,60 @@ jobs:
|
||||||
path: ./**/build/reports/tests/**/index.html
|
path: ./**/build/reports/tests/**/index.html
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
# run-tests-on-emulator:
|
run-tests-on-emulator:
|
||||||
# runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
# strategy:
|
strategy:
|
||||||
# matrix:
|
matrix:
|
||||||
# api-level: [ 21, 30 ]
|
api-level: [ 21, 30 ]
|
||||||
# fail-fast: false
|
fail-fast: false
|
||||||
# steps:
|
steps:
|
||||||
# - name: checkout
|
- name: checkout
|
||||||
# uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
# - name: Setup Java
|
- name: Setup Java
|
||||||
# uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
# with:
|
with:
|
||||||
# distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
# java-version: '11'
|
java-version: '11'
|
||||||
# - name: Gradle cache
|
- name: Gradle cache
|
||||||
# uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
# - name: AVD cache
|
- name: AVD cache
|
||||||
# uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
# id: avd-cache
|
id: avd-cache
|
||||||
# with:
|
with:
|
||||||
# path: |
|
path: |
|
||||||
# ~/.android/avd/*
|
~/.android/avd/*
|
||||||
# ~/.android/adb*
|
~/.android/adb*
|
||||||
# key: avd-${{ matrix.api-level }}
|
key: avd-${{ matrix.api-level }}
|
||||||
# - name: create AVD and generate snapshot for caching
|
- name: create AVD and generate snapshot for caching
|
||||||
# if: steps.avd-cache.outputs.cache-hit != 'true'
|
if: steps.avd-cache.outputs.cache-hit != 'true'
|
||||||
# uses: reactivecircus/android-emulator-runner@v2
|
uses: reactivecircus/android-emulator-runner@v2
|
||||||
# with:
|
with:
|
||||||
# arch: 'x86_64'
|
arch: 'x86_64'
|
||||||
# api-level: ${{ matrix.api-level }}
|
api-level: ${{ matrix.api-level }}
|
||||||
# force-avd-creation: false
|
force-avd-creation: false
|
||||||
# emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
||||||
# disable-animations: false
|
disable-animations: false
|
||||||
# script: echo "Generated AVD snapshot for caching."
|
script: echo "Generated AVD snapshot for caching."
|
||||||
# - name: Run Android Tests
|
- name: Run Android Tests
|
||||||
# uses: reactivecircus/android-emulator-runner@v2
|
uses: reactivecircus/android-emulator-runner@v2
|
||||||
# with:
|
with:
|
||||||
# arch: 'x86_64'
|
arch: 'x86_64'
|
||||||
# api-level: ${{ matrix.api-level }}
|
api-level: ${{ matrix.api-level }}
|
||||||
# force-avd-creation: false
|
force-avd-creation: false
|
||||||
# emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
||||||
# disable-animations: true
|
disable-animations: true
|
||||||
# script: ./gradlew connectedDebugAndroidTest
|
script: ./gradlew connectedDebugAndroidTest
|
||||||
# - name: Upload Test Results
|
- name: Upload Test Results
|
||||||
# uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
# if: always()
|
if: always()
|
||||||
# with:
|
with:
|
||||||
# name: Emulator-Test-Results-${{ matrix.api-level }}
|
name: Emulator-Test-Results-${{ matrix.api-level }}
|
||||||
# path: ./**/build/reports/androidTests/**/*.html
|
path: ./**/build/reports/androidTests/**/*.html
|
||||||
# retention-days: 1
|
retention-days: 1
|
||||||
# - name: Upload Test Screenshots
|
- name: Upload Test Screenshots
|
||||||
# uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
# if: always()
|
if: always()
|
||||||
# with:
|
with:
|
||||||
# name: Emulator-Test-Results-${{ matrix.api-level }}
|
name: Emulator-Test-Results-${{ matrix.api-level }}
|
||||||
# path: ./**/build/testscreenshots/*
|
path: ./**/build/testscreenshots/*
|
||||||
# retention-days: 1
|
retention-days: 1
|
||||||
5
.github/workflows/screenshot-tests.yml
vendored
5
.github/workflows/screenshot-tests.yml
vendored
|
|
@ -1,9 +1,8 @@
|
||||||
name: Verify Screenshots can be created and pulled
|
name: Verify Screenshots can be created and pulled
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
workflow_dispatch:
|
||||||
branches:
|
|
||||||
- develop
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GITHUB_USERNAME: "fknives"
|
GITHUB_USERNAME: "fknives"
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ class AuthComposeInstrumentedTest : KoinTest {
|
||||||
composeTestRule.mainClock.advanceTimeUntil { anyResourceIdling() }
|
composeTestRule.mainClock.advanceTimeUntil { anyResourceIdling() }
|
||||||
navigationRobot.assertAuthScreen()
|
navigationRobot.assertAuthScreen()
|
||||||
robot.setPassword("alma")
|
robot.setPassword("alma")
|
||||||
.setUsername("banaxn")
|
.setUsername("banan")
|
||||||
.assertUsername("banan")
|
.assertUsername("banan")
|
||||||
.assertPassword("alma")
|
.assertPassword("alma")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue