Skip to content

L&P Tests

L&P Tests #70

Workflow file for this run

name: L&P Tests
on:
push:
branches:
- master
- release
schedule:
- cron: "0 0 * * *" # end of every day
jobs:
LnP-testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('.gradle/*.gradle*', 'build.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Create Config Files
run: ./gradlew createConfigs
- name: Run Solr search service + local Datastore emulator
run: docker compose up -d
- name: Start Server
run: ./gradlew serverRun &
- name: Wait until server is running
run: ./wait-for-server.sh
- name: Start Tests
run: ./gradlew lnpTests