Skip to content

feat: Update data for footer and landingPage on database #241

feat: Update data for footer and landingPage on database

feat: Update data for footer and landingPage on database #241

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ '21' ]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build and test
run: ./gradlew test jacocoTestReport
env:
DOCKER_HOST: "unix:///var/run/docker.sock"
TESTCONTAINERS_RYUK_DISABLED: "true"
- name: Pmd Check
run: ./gradlew pmdMain
- name: Jacoco Test Coverage Verification
run: ./gradlew jacocoTestCoverageVerification
- name: Upload code coverage report
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: jacoco-report
path: build/reports/jacoco/test/html/
- name: Check coverage report
if: failure()
run: |
echo "Coverage verification failed. Check the report for details."
cat build/reports/jacoco/test/html/index.html