forked from AutoGeneral/IridiumApplicationTesting
-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (35 loc) · 1.36 KB
/
ithings-browserstack.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: iThings Browserstack Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: ./gradlew build -x test
env:
ossrhPassword: ${{ secrets.ossrhPassword }}
ossrhUsername: ${{ secrets.ossrhUsername }}
DisableSigning: true
- name: Run iPhone tests
run: ./gradlew test -DtestBrowsers=${TEST_SUITE}
env:
TEST_SUITE: "{'browsers':['BrowserStack'],'runNegTests':false,'runSimpleTests':false,'groupName':'iPhone'}"
ossrhPassword: ${{ secrets.ossrhPassword }}
ossrhUsername: ${{ secrets.ossrhUsername }}
DisableSigning: true
browserStackAccessToken: ${{ secrets.browserStackAccessToken }}
browserStackUsername: ${{ secrets.browserStackUsername }}
- name: Run iPod tests
run: ./gradlew test -DtestBrowsers=${TEST_SUITE}
env:
TEST_SUITE: "{'browsers':['BrowserStack'],'runNegTests':false,'runSimpleTests':false,'groupName':'iPad'}"
ossrhPassword: ${{ secrets.ossrhPassword }}
ossrhUsername: ${{ secrets.ossrhUsername }}
DisableSigning: true
browserStackAccessToken: ${{ secrets.browserStackAccessToken }}
browserStackUsername: ${{ secrets.browserStackUsername }}