Skip to content

Commit c5815b2

Browse files
committed
Add specific action for UI tests.
1 parent 5a11ed5 commit c5815b2

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/ui-tests.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: 'UI Tests'
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request_target:
8+
9+
jobs:
10+
ui-tests:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
browser: [ firefox-container, chrome-container ]
15+
16+
runs-on: [ubuntu-latest]
17+
name: '${{ matrix.browser }}
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Set up JDK 21
22+
uses: actions/setup-java@v4
23+
with:
24+
distribution: 'temurin'
25+
java-version: '21'
26+
check-latest: true
27+
cache: 'maven'
28+
- name: Set up Maven
29+
uses: stCarolas/setup-maven@v5
30+
with:
31+
maven-version: 3.9.9
32+
- name: Build warnings plugin and download dependencies
33+
run: mvn -V --color always -ntp verify -Pskip --file plugin/pom.xml
34+
- name: Run UI tests on ${{ matrix.browser }}
35+
env:
36+
BROWSER: ${{ matrix.browser }}
37+
SKIP_UPDATES: 'true'
38+
run: mvn -V --color always -ntp test --file ui-tests/pom.xml -Dgpg.skip -Dsurefire.rerunFailingTestsCount=1

0 commit comments

Comments
 (0)