Skip to content

Merge pull request #301 from eliasnogueira/latest-updates #378

Merge pull request #301 from eliasnogueira/latest-updates

Merge pull request #301 from eliasnogueira/latest-updates #378

name: Build and Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
local-test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 22
distribution: oracle
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -B -q -DskipTests package
- name: Run local tests
run: mvn -B -q test -Pweb-execution -Dsuite=local -Dtarget=local -Dheadless=true -Dbrowser=chrome