File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717jobs :
1818 build :
1919
20+ strategy :
21+ fail-fast : false
22+ matrix :
23+ browser : [chromium, firefox, webkit]
2024 runs-on : windows-latest
2125
2226 steps :
2327 - uses : actions/checkout@v3
24- - name : Set up JDK 11
28+ - name : Set up JDK 17
2529 uses : actions/setup-java@v3
2630 with :
2731 distribution : ' temurin'
2832 java-version : ' 17'
33+ - uses : actions/setup-node@v3
34+ with :
35+ node-version : 14
36+ - run : npm i -g npm@8
37+ - run : npm ci
38+ env :
39+ DEBUG : pw:install
40+ PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : 1
41+ - run : npm run build
42+ - run : npx playwright install --with-deps ${{ matrix.browser }} chromium
43+ - run : npm run test -- --project=${{ matrix.browser }}
44+ shell : bash
45+ - run : ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
46+ if : always()
47+ shell : bash
48+ - uses : actions/upload-artifact@v3
49+ if : ${{ always() }}
50+ with :
51+ name : ${{ matrix.browser }}-win-test-results
52+ path : test-results
2953 - name : Build & Install
3054 run : mvn -B install -D skipTests --no-transfer-progress
3155 - name : Install Playwright
3256 run : mvn exec:java -e -Dexec.mainClass=com.microsoft.playwright.CLI -Dexec.args="install --with-deps"
33- - name : Test with Maven
57+ - name : Run Tests with Maven
3458 run : mvn clean test --file pom.xml
3559
3660 # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
You can’t perform that action at this time.
0 commit comments