Skip to content

Commit d16f5b6

Browse files
committed
add boxlang to matrix
1 parent 28bc408 commit d16f5b6

File tree

3 files changed

+60
-10
lines changed

3 files changed

+60
-10
lines changed

.github/workflows/tests.yml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,17 @@ jobs:
1414
env:
1515
DB_USER: root
1616
DB_PASSWORD: root
17+
continue-on-error: ${{ matrix.experimental }}
1718
strategy:
1819
fail-fast: false
1920
matrix:
2021
cfengine: [ "lucee@5", "adobe@2018", "adobe@2021" ]
22+
coldboxVersion: [ "^6.0.0", "^7.0.0" ]
23+
experimental: [ false ]
24+
include:
25+
- cfengine: "boxlang@1"
26+
coldboxVersion: "be"
27+
experimental: true
2128
steps:
2229
- name: Checkout Repository
2330
uses: actions/checkout@v2
@@ -55,7 +62,7 @@ jobs:
5562
# printf "DB_BUNDLENAME=com.mysql.cj\n" >> .env
5663

5764
- name: Cache CommandBox Dependencies
58-
uses: actions/cache@v1
65+
uses: actions/cache@v4
5966
if: ${{ true }}
6067
with:
6168
path: ~/.CommandBox/artifacts
@@ -66,7 +73,9 @@ jobs:
6673
- name: Install Test Harness Dependencies
6774
run: |
6875
box install
69-
cd test-harness && box install
76+
cd test-harness
77+
box package set dependencies.coldbox=${{ matrix.coldboxVersion }}
78+
box install
7079
7180
- name: Start ${{ matrix.cfengine }} Server
7281
run: |
@@ -83,17 +92,17 @@ jobs:
8392
box testbox run --verbose outputFile=test-harness/tests/results/test-results outputFormats=json,antjunit
8493
8594
- name: Publish Test Results
86-
uses: EnricoMi/publish-unit-test-result-action@v1
95+
uses: EnricoMi/publish-unit-test-result-action@v2
8796
if: always()
8897
with:
89-
files: test-harness/tests/results/**/*.xml
90-
check_name: "${{ matrix.cfengine }} Test Results"
98+
junit_files: test-harness/tests/results/**/*.xml
99+
check_name: "${{ matrix.cfengine }} ColdBox ${{ matrix.coldboxVersion }} Test Results"
91100

92101
- name: Upload Test Results to Artifacts
93102
if: always()
94-
uses: actions/upload-artifact@v2
103+
uses: actions/upload-artifact@v4
95104
with:
96-
name: test-results-${{ matrix.cfengine }}
105+
name: test-results-${{ matrix.cfengine }}-${{ matrix.coldboxVersion }}
97106
path: |
98107
test-harness/tests/results/**/*
99108
@@ -104,9 +113,9 @@ jobs:
104113
105114
- name: Upload Debug Logs To Artifacts
106115
if: ${{ failure() }}
107-
uses: actions/upload-artifact@v2
116+
uses: actions/upload-artifact@v4
108117
with:
109-
name: Failure Debugging Info - ${{ matrix.cfengine }}
118+
name: Failure Debugging Info - ${{ matrix.cfengine }} - ${{ matrix.coldboxVersion }}
110119
path: |
111120
.engine/**/logs/*
112121
.engine/**/WEB-INF/cfusion/logs/*
@@ -120,6 +129,6 @@ jobs:
120129
SLACK_COLOR: ${{ job.status }} # or a specific color like 'green' or '#ff00ff'
121130
SLACK_ICON_EMOJI: ":bell:"
122131
SLACK_MESSAGE: '${{ github.repository }} tests failed :cry:'
123-
SLACK_TITLE: ${{ github.repository }} Tests For ${{ matrix.cfengine }} failed
132+
SLACK_TITLE: ${{ github.repository }} Tests For ${{ matrix.cfengine }} with ColdBox ${{ matrix.coldboxVersion }} failed
124133
SLACK_USERNAME: CI
125134
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}

readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
# Welcome to DataBoss
2+
3+
## System requirements
4+
* [Boxlang](https://www.boxlang.io)
5+
* Adobe 2018+
6+
* Lucee 5

[email protected]

Lines changed: 36 additions & 0 deletions
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":"databoss-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":"test-harness",
18+
"aliases":{
19+
"/moduleroot/databoss":"./"
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+
}

0 commit comments

Comments
 (0)