@@ -14,10 +14,16 @@ jobs:
14
14
env :
15
15
DB_USER : root
16
16
DB_PASSWORD : root
17
+ continue-on-error : ${{ matrix.experimental }}
17
18
strategy :
18
19
fail-fast : false
19
20
matrix :
20
21
cfengine : [ "lucee@5", "adobe@2018", "adobe@2021" ]
22
+ coldboxVersion : [ "^6.0.0" ]
23
+ experimental : [ false ]
24
+ include :
25
+ - coldboxVersion : " be"
26
+ experimental : true
21
27
steps :
22
28
- name : Checkout Repository
23
29
uses : actions/checkout@v3
@@ -54,10 +60,12 @@ jobs:
54
60
# printf "DB_BUNDLEVERSION=8.0.19\n" >> .env
55
61
# printf "DB_BUNDLENAME=com.mysql.cj\n" >> .env
56
62
57
- - name : Install Test Harness Dependencies
63
+ - name : Install Test Harness with ColdBox ${{ matrix.coldboxVersion }}
58
64
run : |
59
65
box install
60
- cd test-harness && box install
66
+ cd test-harness
67
+ box package set dependencies.coldbox=${{ matrix.coldboxVersion }}
68
+ box install
61
69
62
70
- name : Start ${{ matrix.cfengine }} Server
63
71
run : |
@@ -74,13 +82,13 @@ jobs:
74
82
if : always()
75
83
with :
76
84
junit_files : test-harness/tests/results/**/*.xml
77
- check_name : " ${{ matrix.cfengine }} Test Results"
85
+ check_name : " ${{ matrix.cfengine }} ColdBox Version ${{ matrix.coldboxVersion }} Test Results"
78
86
79
87
- name : Upload Test Results to Artifacts
80
88
if : always()
81
89
uses : actions/upload-artifact@v3
82
90
with :
83
- name : test-results-${{ matrix.cfengine }}
91
+ name : test-results-${{ matrix.cfengine }}-${{ matrix.coldboxVersion }}
84
92
path : |
85
93
test-harness/tests/results/**/*
86
94
93
101
if : ${{ failure() }}
94
102
uses : actions/upload-artifact@v3
95
103
with :
96
- name : Failure Debugging Info - ${{ matrix.cfengine }}
104
+ name : Failure Debugging Info - ${{ matrix.cfengine }} - ${{ matrix.coldboxVersion }}
97
105
path : |
98
106
.engine/**/logs/*
99
107
.engine/**/WEB-INF/cfusion/logs/*
@@ -107,6 +115,6 @@ jobs:
107
115
SLACK_COLOR : ${{ job.status }} # or a specific color like 'green' or '#ff00ff'
108
116
SLACK_ICON_EMOJI : " :bell:"
109
117
SLACK_MESSAGE : ' ${{ github.repository }} tests failed :cry:'
110
- SLACK_TITLE : ${{ github.repository }} Tests For ${{ matrix.cfengine }} failed
118
+ SLACK_TITLE : ${{ github.repository }} Tests For ${{ matrix.cfengine }} with ColdBox ${{ matrix.coldboxVersion }} failed
111
119
SLACK_USERNAME : CI
112
120
SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK_URL }}
0 commit comments