Skip to content

Add github workflow for pr-builds #4

Add github workflow for pr-builds

Add github workflow for pr-builds #4

Workflow file for this run

name: build
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Build Neo4j - Spatial Components
runs-on: ubuntu-latest
steps:
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
- name: Check out repository code
uses: actions/checkout@v2
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: 17
distribution: adopt
- name: Run Maven build
run: ./mvnw --no-transfer-progress clean compile test
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
with:
files: "**/target/surefire-reports/*.xml"
report_individual_runs: "true"