Skip to content

Commit 48fb92d

Browse files
committed
add boxlang to matrix
1 parent 86f5c1e commit 48fb92d

File tree

3 files changed

+51
-3
lines changed

3 files changed

+51
-3
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,15 @@ jobs:
1717
tests:
1818
name: Tests
1919
runs-on: ubuntu-20.04
20+
continue-on-error: ${{ matrix.experimental }}
2021
strategy:
2122
fail-fast: false
2223
matrix:
2324
cfengine: [ "lucee@5", "lucee@6", "adobe@2018", "adobe@2021" ]
25+
experimental: [ false ]
26+
include:
27+
- cfengine: "boxlang@1"
28+
experimental: true
2429
steps:
2530
- name: Checkout Repository
2631
uses: actions/checkout@v2
@@ -43,6 +48,11 @@ jobs:
4348
- name: Setup CommandBox
4449
uses: elpete/[email protected]
4550

51+
- name: Update Commandbox Boxlang Module
52+
if: ${{ matrix.cfengine == 'boxlang@1' }}
53+
run:
54+
box install --force commandbox-boxlang
55+
4656
- name: Install Test Harness Dependencies
4757
working-directory: ./test-harness
4858
run: |

.github/workflows/pr.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@ jobs:
1717
env:
1818
DB_USER: root
1919
DB_PASSWORD: root
20+
continue-on-error: ${{ matrix.experimental }}
2021
strategy:
2122
fail-fast: true
2223
matrix:
2324
cfengine: [ "lucee@5", "adobe@2018", "adobe@2021" ]
25+
include:
26+
- cfengine: "boxlang@1"
27+
experimental: true
2428
steps:
2529
- name: Checkout Repository
2630
uses: actions/checkout@v2
@@ -34,6 +38,11 @@ jobs:
3438
- name: Setup CommandBox
3539
uses: elpete/[email protected]
3640

41+
- name: Update Commandbox Boxlang Module
42+
if: ${{ matrix.cfengine == 'boxlang@1' }}
43+
run:
44+
box install --force commandbox-boxlang
45+
3746
- name: Install Test Harness Dependencies
3847
working-directory: ./test-harness
3948
run: |
@@ -58,11 +67,11 @@ jobs:
5867
box testbox run --verbose outputFile=tests/results/test-results outputFormats=json,antjunit
5968
6069
- name: Publish PR Test Reports
61-
uses: mikepenz/action-junit-report@v2
70+
uses: EnricoMi/publish-unit-test-result-action@v1
71+
if: always()
6272
with:
63-
report_paths: 'test-harness/tests/results/**/*.xml'
73+
files: test-harness/tests/results/**/*.xml
6474
check_name: "${{ matrix.cfengine }} Test Results"
65-
summary: true
6675

6776
- name: Failure Debugging Info
6877
if: ${{ failure() }}

[email protected]

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"app":{
3+
"cfengine":"[email protected]",
4+
"serverHomeDirectory":".engine/boxlang"
5+
},
6+
"name":"swagger-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":"test-harness",
18+
"aliases":{
19+
"/moduleroot/swagger-sdk":"./"
20+
}
21+
},
22+
"JVM":{
23+
"javaVersion":"openjdk21_jdk_x64",
24+
"args":"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999 -Dboxlang.debugMode=true"
25+
},
26+
"scripts":{
27+
"onServerInitialInstall":"install bx-compat-cfml@be,bx-esapi --noSave"
28+
}
29+
}

0 commit comments

Comments
 (0)