-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (32 loc) · 962 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
name: CI
on:
pull_request:
push:
branches: [ master, develop ]
jobs:
testAndGenerateDocs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Coursier Cache
uses: coursier/cache-action@v6
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
cache: sbt
- name: Install sbt
uses: sbt/setup-sbt@v1
- name: Compile
run: sbt compile
- name: Test
run: sbt -v "test:compile; domain/test; bpmn/test;"
- name: Test Report
uses: dorny/test-reporter@v1
if: success() # run this step even if previous step failed
with:
name: Test Report # Name of the check run which will be created
path: "**/test-reports/*.xml" # Path to test results.
reporter: java-junit # Format of test results