forked from drpcorg/dshackle
-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (42 loc) · 902 Bytes
/
test.yaml
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
42
43
44
45
name: Tests
on:
# if pushed directly
push:
paths-ignore:
- '**/docs/**'
- '**/.github/**'
branches:
- master
- release/*
- ci/*
# on a pull request
pull_request:
paths-ignore:
- '**/docs/**'
branches:
- master
- release/*
- ci/*
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
- name: Install System Libs
run: sudo apt-get install -y openssl libapr1
- name: Setup gradle
uses: gradle/gradle-build-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
- name: Check
run: make test
env:
CI: true