-
Notifications
You must be signed in to change notification settings - Fork 125
44 lines (41 loc) · 1.24 KB
/
gitpod.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
36
37
38
39
40
41
42
43
44
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Gitpod Tests Tests
on:
schedule:
- cron: '35 21 * * *'
workflow_dispatch:
push:
branches: [ main ]
paths:
- '**/gitpod/**'
- 'pom.*'
pull_request:
paths:
- '**/gitpod/**'
- 'pom.*'
jobs:
# appium
selenium:
runs-on: ubuntu-latest
container:
# !!!IMPORTANT!!! THIS MUST ALWAYS MATCH WHAT IS IN GITPOD.YML; SAUCE LABS CUSTOMERS RELY ON THIS!!!!:
image: maven:3.6.3-jdk-11
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 11
- name: Run tests
working-directory: ./gitpod
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
BUILD: 'selenium-build-whatever'
BROWSER_NAME: chrome
# !!!IMPORTANT!!! THIS MUST ALWAYS MATCH WHAT IS IN GITPOD.YML; SAUCE LABS CUSTOMERS RELY ON THIS!!!!:
run: |
mvn dependency:resolve
mvn test-compile
mvn test -Dtest=SeleniumTest