Skip to content

Merge branch 'main' of https://github.com/saucelabs-training/demo-java #79

Merge branch 'main' of https://github.com/saucelabs-training/demo-java

Merge branch 'main' of https://github.com/saucelabs-training/demo-java #79

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
name: Windows and Mac OS tests
on:
push:
branches: [ main ]
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Run tests
continue-on-error: true
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
SCREENER_API_KEY: ${{ secrets.SCREENER_API_KEY }}
run: mvn test -pl best-practice -Dtest=DesktopTests* -X