Skip to content

School Page UI Improvements #71

School Page UI Improvements

School Page UI Improvements #71

# 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: "10-backend-unit: Java Unit tests"
on:
workflow_dispatch:
pull_request:
paths: [src/**, pom.xml, lombok.config, .github/workflows/10-backend-unit.yml]
push:
branches: [ main ]
paths: [src/**, pom.xml, lombok.config, .github/workflows/10-backend-unit.yml]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3.5.2
- name: Set up Java (version from .java-version file)
uses: actions/setup-java@v3
with:
distribution: semeru # See: https://github.com/actions/setup-java#supported-distributions
java-version-file: ./.java-version
- name: Build with Maven
env:
TEST_PROPERTIES: ${{ secrets.TEST_PROPERTIES }}
run: mvn -B test