Skip to content

feat/fe login

feat/fe login #15

Workflow file for this run

name: CI - Build Backend
on:
pull_request:
branches:
- master
paths:
- backend/**
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15.4
env:
POSTGRES_USER: kursph
POSTGRES_PASSWORD: password
POSTGRES_DB: customer
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
- name: Build and run Unit/Integration Tests with Maven
run: mvn -ntp -B verify