Skip to content

Merge pull request #47 from opensrp/sync-with-upstream-0.3.0 #171

Merge pull request #47 from opensrp/sync-with-upstream-0.3.0

Merge pull request #47 from opensrp/sync-with-upstream-0.3.0 #171

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:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- name: Run Unit tests
run: mvn -B clean test --file pom.xml
run-spotless-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- name: Run spotless check
run: mvn spotless:check