-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (34 loc) · 992 Bytes
/
run-kotlin-tests.yml
File metadata and controls
43 lines (34 loc) · 992 Bytes
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
name: Run kotlin tests
on:
# this workflow is only called by others, won't be executed on itself
workflow_call:
permissions:
contents: read
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
run-tests:
name: Run kotlin tests
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
submodules: recursive
- name: Start dependencies (blocking until up)
run: ./development.sh start:deps
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
java-version: "17"
java-package: jdk
architecture: x64
distribution: temurin
cache: maven
- name: Run tests and try building a package
run: |
# create mandatory Maven configuration file for runner user
RUNNER_USERNAME=$(whoami)
touch ./profiles/dev/config.${RUNNER_USERNAME}.properties
# run tests
mvn clean verify