Skip to content

EPMHLM-380

EPMHLM-380 #407

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
pull_request:
branches: [ master ]
paths:
- 'src/**'
- 'pom.xml'
push:
paths:
- 'src/**'
- 'pom.xml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.17
uses: actions/setup-java@v1 # Setup JAVA
with:
java-version: 1.17
- name: Install Google Chrome # Using shell script to install Google Chrome
run: |
chmod +x ./scripts/InstallChrome.sh
./scripts/InstallChrome.sh
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Run Maven tests
run: mvn clean test