Skip to content

Add test pipeline as target_compile action #14

Add test pipeline as target_compile action

Add test pipeline as target_compile action #14

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Test SDK on maven demo project
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up JDK 19
uses: actions/setup-java@v3
with:
java-version: '19'
distribution: 'temurin'
- name: clone
run: |
git clone https://github.com/unloggedio/unlogged-spring-maven-demo
cd unlogged-spring-maven-demo
mvn -B package test
mvn surefire-report:report
ls target