From 73812388cb92545c284b8574462eb2d2275ee897 Mon Sep 17 00:00:00 2001 From: johnlitvinov Date: Sat, 10 Aug 2024 14:37:21 +0200 Subject: [PATCH] -added minor changes --- .github/workflows/uitests.yaml | 52 ++++++++++++++++++++++------------ 1 file changed, 34 insertions(+), 18 deletions(-) diff --git a/.github/workflows/uitests.yaml b/.github/workflows/uitests.yaml index e7002ae..4b91498 100644 --- a/.github/workflows/uitests.yaml +++ b/.github/workflows/uitests.yaml @@ -51,21 +51,37 @@ jobs: retention-days: 14 -# tests: -# name: run ui tests on aws with appium -# needs: build -# runs-on: ${{ github.event.inputs.runner || 'autotestdebug' }} -# timeout-minutes: 30 -# steps: -# - name: checkout source code of application -# uses: actions/checkout@v4 -# with: -# clean: true -# repository: 'appodeal/SDK-Auto-Test' -# token: ${{ secrets.UITESTREPOACCESS }} -# -# - name: Set up JDK 11 -# uses: actions/setup-java@v4 -# with: -# java-version: '11' -# distribution: 'temurin' \ No newline at end of file + tests: + name: run ui tests on aws with appium + needs: build + runs-on: ${{ github.event.inputs.runner || 'autotestdebug' }} + timeout-minutes: 30 + steps: + - name: checkout source code of application + uses: actions/checkout@v4 + with: + clean: true + repository: 'appodeal/SDK-Auto-Test' + token: ${{ secrets.UITESTREPOACCESS }} + + - name: Set up JDK 11 + uses: actions/setup-java@v4 + with: + java-version: '11' + distribution: 'temurin' + + - name: download debug build + uses: actions/download-artifact@v4 + with: + name: banner-debug.apk + path: ./apk + + - name: prepare build + run: | + mvn clean + sleep 5 + mvn jar:jar + sleep 5 + mvn jar:test-jar + sleep 5 + mvn assembly:single -DskipTests -Ddescriptor=src/main/assembly/zip.xml \ No newline at end of file