forked from applitools/example-selenium-java-junit
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (42 loc) · 1.57 KB
/
Copy pathrunTestAll.yml
File metadata and controls
53 lines (42 loc) · 1.57 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Applitools - Run All
on:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use java ${{ matrix.java-version }}
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'adopt'
- name: Install dependencies
run: mvn install
- name: Run Local v1
run: mvn exec:java -Dexec.mainClass="com.applitools.quickstarts.AppTest" -Dexec.classpathScope=test
env:
APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }}
BASEURL: https://demo.applitools.com
USE_GRID: false
- name: Run Local v2
if: always()
run: mvn exec:java -Dexec.mainClass="com.applitools.quickstarts.AppTest" -Dexec.classpathScope=test
env:
APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }}
BASEURL: https://demo.applitools.com/index_v2.html
USE_GRID: false
- name: Run Grid v1
if: always()
run: mvn exec:java -Dexec.mainClass="com.applitools.quickstarts.AppTest" -Dexec.classpathScope=test
env:
APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }}
BASEURL: https://demo.applitools.com
USE_GRID: true
- name: Run Grid v2
if: always()
run: mvn exec:java -Dexec.mainClass="com.applitools.quickstarts.AppTest" -Dexec.classpathScope=test
env:
APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }}
BASEURL: https://demo.applitools.com/index_v2.html
USE_GRID: true