-
-
Notifications
You must be signed in to change notification settings - Fork 5
41 lines (34 loc) · 925 Bytes
/
test.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
39
40
41
name: Tests
on:
push:
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.3
- name: Cache maven deps
uses: actions/cache@v3.3.1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/deps.edn') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Prepare java
uses: actions/setup-java@v3.11.0
with:
distribution: 'zulu'
java-version: 17
- name: Install clojure tools-deps
uses: DeLaGuardo/setup-clojure@11.0
with:
cli: '1.11.1.1347'
bb: '1.3.181'
- name: Unit Tests
env:
LMGREP_FEATURE_BUNDLED_ANALYZERS: true
LMGREP_FEATURE_STEMPEL: true
LMGREP_FEATURE_SNOWBALL: true
LMGREP_FEATURE_RAUDIKKO: true
run: |
bb deps-prep
bb test