Skip to content

Commit 7c89c03

Browse files
committed
adding coldbox be testing
1 parent 9f74b1f commit 7c89c03

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,16 @@ 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" ]
23+
experimental: [ false ]
24+
include:
25+
- coldboxVersion: "be"
26+
experimental: true
2127
steps:
2228
- name: Checkout Repository
2329
uses: actions/checkout@v3
@@ -54,10 +60,12 @@ jobs:
5460
# printf "DB_BUNDLEVERSION=8.0.19\n" >> .env
5561
# printf "DB_BUNDLENAME=com.mysql.cj\n" >> .env
5662

57-
- name: Install Test Harness Dependencies
63+
- name: Install Test Harness with ColdBox ${{ matrix.coldboxVersion }}
5864
run: |
5965
box install
60-
cd test-harness && box install
66+
cd test-harness
67+
box package set dependencies.coldbox=${{ matrix.coldboxVersion }}
68+
box install
6169
6270
- name: Start ${{ matrix.cfengine }} Server
6371
run: |
@@ -74,13 +82,13 @@ jobs:
7482
if: always()
7583
with:
7684
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"
7886

7987
- name: Upload Test Results to Artifacts
8088
if: always()
8189
uses: actions/upload-artifact@v3
8290
with:
83-
name: test-results-${{ matrix.cfengine }}
91+
name: test-results-${{ matrix.cfengine }}-${{ matrix.coldboxVersion }}
8492
path: |
8593
test-harness/tests/results/**/*
8694
@@ -93,7 +101,7 @@ jobs:
93101
if: ${{ failure() }}
94102
uses: actions/upload-artifact@v3
95103
with:
96-
name: Failure Debugging Info - ${{ matrix.cfengine }}
104+
name: Failure Debugging Info - ${{ matrix.cfengine }} - ${{ matrix.coldboxVersion }}
97105
path: |
98106
.engine/**/logs/*
99107
.engine/**/WEB-INF/cfusion/logs/*
@@ -107,6 +115,6 @@ jobs:
107115
SLACK_COLOR: ${{ job.status }} # or a specific color like 'green' or '#ff00ff'
108116
SLACK_ICON_EMOJI: ":bell:"
109117
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
111119
SLACK_USERNAME: CI
112120
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)