L&P Tests #2395
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |