Skip to content

Commit c652f18

Browse files
committed
ci: enable workflow dispatch for triggering boxlang tests and reinstall commandbox-boxlang
1 parent 325fd27 commit c652f18

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.github/workflows/snapshot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- 'development'
7+
workflow_dispatch:
78

89
jobs:
910
##########################################################################################

.github/workflows/tests.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ jobs:
5757
- name: Setup CommandBox CLI
5858
uses: Ortus-Solutions/[email protected]
5959

60+
- name: Update Commandbox Boxlang Module
61+
if: ${{ matrix.cfengine == 'boxlang@1' }}
62+
run:
63+
box install --force commandbox-boxlang
64+
6065
# Not Needed in this module
6166
#- name: Setup Environment For Testing Process
6267
# working-directory: ./test-harness
@@ -99,7 +104,7 @@ jobs:
99104

100105
- name: Upload Test Results to Artifacts
101106
if: always()
102-
uses: actions/upload-artifact@v3
107+
uses: actions/upload-artifact@v4
103108
with:
104109
name: test-results-${{ matrix.cfengine }}-${{ matrix.coldboxVersion }}
105110
path: |
@@ -112,7 +117,7 @@ jobs:
112117
113118
- name: Upload Debug Logs To Artifacts
114119
if: ${{ failure() }}
115-
uses: actions/upload-artifact@v3
120+
uses: actions/upload-artifact@v4
116121
with:
117122
name: Failure Debugging Info - ${{ matrix.cfengine }} - ${{ matrix.coldboxVersion }}
118123
path: |

[email protected]

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"JVM":{
2323
"heapSize":"1024",
2424
"javaVersion":"openjdk21_jdk",
25-
"args":"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999"
25+
"args":"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999 -Dboxlang.debugMode=true"
2626
},
2727
"cfconfig":{
2828
"file":".cfconfig.json"
@@ -33,4 +33,4 @@
3333
"scripts":{
3434
"onServerInitialInstall":"install bx-mail,bx-mysql,bx-derby,bx-compat-cfml@be,bx-unsafe-evaluate,bx-esapi --noSave"
3535
}
36-
}
36+
}

0 commit comments

Comments
 (0)