diff --git a/.github/workflows/gitpod.yml b/.github/workflows/gitpod.yml new file mode 100644 index 00000000..af62a820 --- /dev/null +++ b/.github/workflows/gitpod.yml @@ -0,0 +1,27 @@ +# 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-8 + 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 + run: mvn test -Dtest=SeleniumTest