-
Notifications
You must be signed in to change notification settings - Fork 276
39 lines (35 loc) · 1.25 KB
/
ui-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: 'UI Tests'
on:
push:
branches:
- main
pull_request_target:
jobs:
ui-tests:
strategy:
fail-fast: false
matrix:
test: [ DetailsTabUiTest, FreeStyleConfigurationUiTest, GlobalConfigurationUiTest, IssuesColumnUiTest, SnippetGeneratorUiTest, TrendChartsUiTest, WarningsPluginUiTest, SmokeTests ]
browser: [ firefox-container, chrome-container ]
runs-on: [ubuntu-latest]
name: '${{ matrix.browser }} / ${{ matrix.test }}'
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
check-latest: true
cache: 'maven'
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.9
- name: Build warnings plugin and download dependencies
run: mvn -V --color always -ntp verify -Pskip --file plugin/pom.xml
- name: Run UI tests ${{ matrix.test }} on ${{ matrix.browser }}
env:
BROWSER: ${{ matrix.browser }}
SKIP_UPDATES: 'true'
run: mvn -V --color always -ntp test --file ui-tests/pom.xml -Dtest=${{ matrix.test }} -Dquite -Dgpg.skip -Dsurefire.rerunFailingTestsCount=1