-
Notifications
You must be signed in to change notification settings - Fork 3.3k
38 lines (37 loc) · 1.02 KB
/
lnp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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