1
0
mirror of synced 2026-07-19 23:05:20 +00:00
Files
playwright-java/.github/workflows/test.yml
T
2020-10-12 08:29:41 -07:00

35 lines
820 B
YAML

name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
browser: [chromium]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: microsoft/playwright-github-action@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- uses: actions/setup-node@v2-beta
with:
node-version: '12'
- name: Install driver dependencies
working-directory: driver
run: npm install
- name: Build with Maven
run: mvn -B package -D skipTests
- name: Run tests
run: mvn test
env:
BROWSER: ${{ matrix.browser }}