Skip to content

Commit e163dfc

Browse files
committed
chore(CI): Specify Java version for BoxLang tests
1 parent 6b4ce90 commit e163dfc

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ jobs:
3232
3333
- name: Start server
3434
run: |
35-
box server start cfengine=${{ matrix.cfengine }} --noSaveSettings
3635
if [[ "${{ matrix.cfengine }}" == *"boxlang"* ]] ; then
3736
box run-script bx-modules:install
3837
box server restart
38+
else
39+
box server start cfengine=${{ matrix.cfengine }} javaVersion=openjdk21 --noSaveSettings
3940
fi
4041
4142
- name: Run TestBox Tests

server-boxlang@be.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"port":"8500"
99
}
1010
},
11+
"JVM": {
12+
"heapSize": "1024",
13+
"javaVersion": "openjdk21_jre"
14+
},
1115
"scripts": {
1216
"onServerInitialInstall": "install bx-compat-cfml,bx-esapi"
1317
}

0 commit comments

Comments
 (0)