Skip to content

add gitpod workflow (#163) #5

add gitpod workflow (#163)

add gitpod workflow (#163) #5

Workflow file for this run

# 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:
push:
branches: [ main ]
pull_request:
jobs:
# appium
selenium:
runs-on: ubuntu-latest
container:
# !!!IMPORTANT!!! THIS MUST ALWAYS MATCH WHAT IS IN GITPOD.YML; SAUCE LABDS CUSTOMERS RELY ON THIS!!!!:
image: maven:3.6.3-jdk-11
steps:
- uses: actions/checkout@v2
- 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 LABDS CUSTOMERS RELY ON THIS!!!!:
run: |
mvn dependency:resolve
mvn test-compile
mvn test -Dtest=SeleniumTest