Skip to content

Commit 8855a11

Browse files
authored
Create maven.yml
1 parent f684c04 commit 8855a11

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/maven.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: playwright-java-soft-assertions
2+
3+
on:
4+
push:
5+
branches: [ main, develop ]
6+
pull_request:
7+
branches: [ main, develop ]
8+
9+
jobs:
10+
build:
11+
strategy:
12+
matrix:
13+
os: [ ubuntu-latest, macos-latest, windows-latest ]
14+
java: [ '8', '11', '17' ]
15+
playwright: [ '1.35.1', '1.36.0']
16+
runs-on: ${{ matrix.os }}
17+
name: ${{matrix.os}} - Java ${{ matrix.java }} - Playwright ${{matrix.playwright}}
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Setup java
21+
uses: actions/setup-java@v2
22+
with:
23+
distribution: 'temurin'
24+
java-version: ${{ matrix.java }}
25+
- run: mvn clean test "-Dplaywright.version=${{matrix.playwright}}" --file pom.xml --no-transfer-progress

0 commit comments

Comments
 (0)