-
Notifications
You must be signed in to change notification settings - Fork 16
45 lines (40 loc) · 935 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:
branches:
- master
- release/*
- ci/*
# on a pull request
pull_request:
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@v3
with:
distribution: 'zulu'
java-version: 20
- name: Install System Libs
run: sudo apt-get install -y openssl libapr1
- name: Check
uses: gradle/gradle-build-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
arguments: check
env:
CI: true
- name: Upload Coverage Report
uses: codecov/codecov-action@v1
with:
file: ./build/reports/jacoco/test/jacocoTestReport.xml