Skip to content

Commit 087c0fd

Browse files
committed
add boxlang to matrix
1 parent 83f8d09 commit 087c0fd

File tree

4 files changed

+94
-2
lines changed

4 files changed

+94
-2
lines changed

.cfconfig.json

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"adminPassword" : "coldbox",
3+
"componentCacheEnabled":false,
4+
"postParametersLimit" : 200,
5+
"robustExceptionEnabled":true,
6+
"saveClassFiles":false,
7+
"systemErr":"System",
8+
"systemOut":"System",
9+
"thistimezone":"UTC",
10+
"whitespaceManagement":"white-space-pref",
11+
"debuggingEnabled":true,
12+
"debuggingReportExecutionTimes":false,
13+
"disableInternalCFJavaComponents":false,
14+
"inspectTemplate":"always",
15+
"requestTimeout":"0,0,0,90",
16+
"datasources":{
17+
"twilio-sdk":{
18+
"bundleName": "${DB_BUNDLENAME}",
19+
"bundleVersion": "${DB_BUNDLEVERSION}",
20+
"blob":"true",
21+
"class":"${DB_CLASS}",
22+
"clob":"true",
23+
"connectionLimit":"100",
24+
"connectionTimeout":"1",
25+
"custom":"useUnicode=true&characterEncoding=UTF8&serverTimezone=UTC&useLegacyDatetimeCode=true&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true",
26+
"database":"twilio-sdk",
27+
"dbdriver":"MySQL",
28+
"dsn":"jdbc:mysql://{host}:{port}/{database}",
29+
"host":"${DB_HOST:127.0.0.1}",
30+
"metaCacheTimeout":"60000",
31+
"password":"${DB_PASSWORD}",
32+
"port": "${DB_PORT:3306}",
33+
"storage":"false",
34+
"username": "${DB_USER:root}",
35+
"validate":"false"
36+
}
37+
}
38+
}

.github/workflows/tests.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,17 @@ jobs:
2222
env:
2323
DB_USER: root
2424
DB_PASSWORD: root
25+
continue-on-error: ${{ matrix.experimental }}
2526
strategy:
2627
fail-fast: false
2728
matrix:
2829
cfengine: [ "lucee@5", "lucee@6", "adobe@2021", "adobe@2023" ]
30+
coldboxVersion: [ "^6.0.0", "^7.0.0"]
31+
experimental: [ false ]
32+
include:
33+
- coldboxVersion: "be"
34+
cfengine: "boxlang@1"
35+
experimental: true
2936
steps:
3037
- name: Checkout Repository
3138
uses: actions/checkout@v2
@@ -73,6 +80,7 @@ jobs:
7380
7481
- name: Install Test Harness Dependencies
7582
run: |
83+
box package set dependencies.coldbox=${{ matrix.coldboxVersion }}
7684
box install
7785
7886
- name: Start ${{ matrix.cfengine }} Server
@@ -82,12 +90,12 @@ jobs:
8290
TWILIO_TEST_ACCOUNT_SID: ${{ secrets.TWILIO_TEST_ACCOUNT_SID }}
8391
TWILIO_TEST_AUTHTOKEN: ${{ secrets.TWILIO_TEST_AUTHTOKEN }}
8492
run: |
85-
box server start cfengine=${{ matrix.cfengine }} port=49619 --noSaveSettings --debug
93+
box server start serverConfigFile=server-${{ matrix.cfengine }} --noSaveSettings --debug
8694
# Install Adobe 2021 cfpm modules
8795
if [[ "${{ matrix.cfengine }}" == "adobe@2021" ]] ; then
8896
box run-script install:2021
8997
fi
90-
curl http://127.0.0.1:49619
98+
curl http://127.0.0.1:60299
9199
92100
- name: Run Tests
93101
env:

[email protected]

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"app":{
3+
"cfengine":"boxlang@be",
4+
"serverHomeDirectory":".engine/boxlang"
5+
},
6+
"name":"twilio-sdk-boxlang@1",
7+
"force":true,
8+
"openBrowser":false,
9+
"web":{
10+
"directoryBrowsing":true,
11+
"http":{
12+
"port":"60299"
13+
},
14+
"rewrites":{
15+
"enable":true
16+
},
17+
"webroot":".",
18+
"aliases":{
19+
"/moduleroot/twilio-sdk":"./"
20+
}
21+
},
22+
"JVM":{
23+
"heapSize":"1024",
24+
"javaVersion":"openjdk21_jdk",
25+
"args":"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999"
26+
},
27+
"cfconfig":{
28+
"file":".cfconfig.json"
29+
},
30+
"env":{
31+
"BOXLANG_DEBUG":true
32+
},
33+
"scripts":{
34+
"onServerInitialInstall":"install bx-mail,bx-mysql,bx-derby,bx-compat-cfml@be,bx-unsafe-evaluate,bx-esapi --noSave"
35+
}
36+
}

[email protected]

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"web":{
3+
"http":{
4+
"port":"60299"
5+
}
6+
},
7+
"app":{
8+
"cfengine":"lucee@5"
9+
}
10+
}

0 commit comments

Comments
 (0)