-
Notifications
You must be signed in to change notification settings - Fork 279
38 lines (34 loc) · 1.23 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
name: 'UI Tests'
on:
push:
branches:
- main
pull_request:
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.6
- name: Build warnings plugin and download dependencies
run: mvn -V --color always -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip
- name: Run UI tests ${{ matrix.test }} on ${{ matrix.browser }}
env:
BROWSER: ${{ matrix.browser }}
run: mvn -V --color always -ntp test --file ui-tests/pom.xml -Dtest=${{ matrix.test }} -DSKIP_UPDATES -Dgpg.skip -Dsurefire.rerunFailingTestsCount=1