Skip to content

CI

CI #1464

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
paths-ignore:
- '/static/**'
pull_request:
branches: [ main ]
paths-ignore:
- '/static/**'
schedule:
- cron: '0 0 * * *'
jobs:
build:
strategy:
matrix:
dhis-image-name: [ 2.38.3.1, 2.39.1.2, 2.40.0 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
cache: maven
- run: mvn -B package -Ddhis.image.name=${{ matrix.dhis-image-name }}
- run: mvn -B clean test -Ddhis.image.name=${{ matrix.dhis-image-name }} -Dspring.sql.init.platform=postgresql