Skip to content

Fix test failure in MagicSchedulerTest post improvements (again) #50

Fix test failure in MagicSchedulerTest post improvements (again)

Fix test failure in MagicSchedulerTest post improvements (again) #50

# 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: Java CI with Maven + Dependabot
on:
push:
branches: [ "master" ]
jobs:
build:
services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres:13.14-bullseye
# Provide the password for postgres
env:
POSTGRES_PASSWORD: password
POSTGRES_DB: labelle_gen
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: xvfb-run mvn -B package --file pom.xml
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@v3