Skip to content

feat: using sping boot OOTB testcontainers #89

feat: using sping boot OOTB testcontainers

feat: using sping boot OOTB testcontainers #89

name: spring-reactive-boot-data-mongo
on:
push:
paths:
- "boot-data-mongo/**"
branches: [ master ]
pull_request:
paths:
- "boot-data-mongo/**"
types:
- opened
- synchronize
- reopened
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Start up databases via Docker Compose
run: |
docker-compose up -d mongodb
sleep 5
docker ps -a
- name: Build with Maven
run: |
cd boot-data-mongo
mvn -B package --file pom.xml