skip failing tests on PR (#164) #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |