Skip to content

Commit

Permalink
-added minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlitvinov committed Aug 10, 2024
1 parent 3340fe5 commit 7381238
Showing 1 changed file with 34 additions and 18 deletions.
52 changes: 34 additions & 18 deletions .github/workflows/uitests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
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

0 comments on commit 7381238

Please sign in to comment.