Skip to content

towards release

towards release #828

Workflow file for this run

name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the develop branch
on:
push:
branches: [ develop ]
paths:
- '**.scala'
- '**.java'
- '**pom.xml'
pull_request:
branches: [ develop ]
workflow_dispatch:
branches: [ develop ]
jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 11
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Run Maven tests
run: MAVEN_OPTS="-Xmx2048M -Xss512M" mvn -f sansa-bom/pom.xml test --no-transfer-progress --fail-at-end