Skip to content

ci: add dev workflow to build and test application #1

ci: add dev workflow to build and test application

ci: add dev workflow to build and test application #1

Workflow file for this run

name: Owlplug Dev
on:
push:
branches:
- '**'
- '!master'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 17
- name: Build maven parent project
run: mvn -B install -DskipTests
- name: Build OwlPlug client
run: cd owlplug-client && mvn -B install spring-boot:repackage -DskipTests
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 17
- name: Build maven parent project
run: mvn -B install -DskipTests
- name: Run Test
run: mvn test