File tree 1 file changed +7
-7
lines changed
.github/actions/run-tests
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -4,29 +4,29 @@ description: Runs Unit and Integration Test. Tests will be executed on a Databro
4
4
inputs :
5
5
upload-test-reports :
6
6
description : " Uploads the resulting test reports if enabled"
7
- required : false
8
7
default : ' false'
9
8
upload-code-coverage-reports :
10
9
description : " Executes Code Coverage Generation and uploads the resulting reports if enabled"
11
- required : false
12
10
default : ' false'
13
11
databroker-version :
14
12
description : " Databroker Version"
15
- required : false
16
13
default : ' master'
14
+ kotest-tag :
15
+ description : >
16
+ The Kotest Tag to use when executing the tests. Check Tag.kt for valid options. Different Tags might require the
17
+ Databroker to be started in a different mode. Currently only unsecured mode (no tls, no authentication) is
18
+ supported.
19
+ default : ' !CustomDatabroker'
17
20
18
21
runs :
19
22
using : " composite"
20
23
steps :
21
- - name : Checkout code
22
- uses : actions/checkout@v4
23
-
24
24
- name : " Run Docker Container of Databroker in detached mode"
25
25
run : docker run --pull=always --rm --publish 55556:55556/tcp --detach --name databroker ghcr.io/eclipse/kuksa.val/databroker:${{ inputs.databroker-version }} --port 55556 --insecure
26
26
shell : bash
27
27
28
28
- name : Run 'test' with Gradle Wrapper
29
- run : ./gradlew test -Dkotest.tags="!CustomDatabroker "
29
+ run : ./gradlew test -Dkotest.tags="${{ inputs.kotest-tag}} "
30
30
shell : bash
31
31
32
32
- name : Upload Test Reports
You can’t perform that action at this time.
0 commit comments