Skip to content

CRUD-299 - fix MongoDB repository methods #339

CRUD-299 - fix MongoDB repository methods

CRUD-299 - fix MongoDB repository methods #339

Workflow file for this run

name: CI
on:
push:
branches: [ main, master, develop ]
pull_request:
branches: [ '*' ]
jobs:
build-and-test:
runs-on: ubuntu-latest
services:
redis:
image: redis:7-alpine
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
- name: Build & Run Tests
run: mvn -B install
- name: Run Code Quality Checks
run: mvn -B -DskipTests checkstyle:check spotbugs:check
- name: Upload Reports (on failure)
if: failure()
uses: actions/upload-artifact@v4
with:
name: build-reports
path: |
**/target/surefire-reports/
**/target/checkstyle-result.xml
**/target/spotbugsXml.xml