Skip to content

Commit

Permalink
Add specific action for UI tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Nov 13, 2024
1 parent 5a11ed5 commit c5815b2
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ui-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: 'UI Tests'

on:
push:
branches:
- main
pull_request_target:

jobs:
ui-tests:
strategy:
fail-fast: false
matrix:
browser: [ firefox-container, chrome-container ]

runs-on: [ubuntu-latest]
name: '${{ matrix.browser }}
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 on ${{ matrix.browser }}
env:
BROWSER: ${{ matrix.browser }}
SKIP_UPDATES: 'true'
run: mvn -V --color always -ntp test --file ui-tests/pom.xml -Dgpg.skip -Dsurefire.rerunFailingTestsCount=1

0 comments on commit c5815b2

Please sign in to comment.