Skip to content

Fixes for reported bugs #1035

Fixes for reported bugs

Fixes for reported bugs #1035

Workflow file for this run

name: E2e Test
on:
push:
branches:
- master
pull_request:
merge_group:
jobs:
test:
runs-on: self-hosted
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
timeout-minutes: 30
strategy:
matrix:
api-level: [30]
target: [default]
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 11
architecture: x64
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- run: npm install ganache --global
- name: Run tests
run: |
rm -rf ./output
mkdir ./output
adb shell settings put secure long_press_timeout 1500
ganache --chain.chainId 2 -h 0.0.0.0 -p 8545 -m "horse light surface bamboo combine item lumber tunnel choose acid mail feature" &
adb logcat >> output/emulator.log &
./gradlew :app:uninstallAll :app:connectedNoAnalyticsDebugAndroidTest -x lint -PdisablePreDex
kill %1
kill %2
- name: Collect tests results
if: ${{ failure() }}
uses: actions/upload-artifact@v1
with:
name: e2e-tests-results
path: output/