-
Notifications
You must be signed in to change notification settings - Fork 122
41 lines (38 loc) · 1.16 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
# 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.8.6-jdk-11
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: 11
distribution: "temurin"
- name: Run tests
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 test -pl gitpod