-
Notifications
You must be signed in to change notification settings - Fork 24
38 lines (32 loc) · 854 Bytes
/
ci.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: unit tests
on:
workflow_dispatch:
push:
branches:
- "**"
jobs:
CI:
runs-on: ubuntu-latest
env:
GRADLE_OPTS: '-Dfile.encoding=utf-8 -Dorg.gradle.daemon=false'
steps:
- name: "checkout repo"
uses: actions/checkout@v2
with:
fetch-depth: '0'
ref: ${{ github.head_ref }}
- name: "gradle validation"
uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
- name: 'unit tests'
run: ./gradlew build
# - name: 'test report'
# uses: allegro-actions/junit-reporter@v1
# if: ${{ success() || failure() }}
# with:
# path: '**/build/test-results/**/TEST-*.xml'
# show: 'all'
# configuration-url: ''