Skip to content

Commit

Permalink
- added more coldbox be testing and 7 testing
Browse files Browse the repository at this point in the history
- changed to use the contentbox scripts tfor dependency installs
  • Loading branch information
lmajano authored Nov 9, 2023
1 parent cc74d8a commit 6c254d6
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,26 @@ jobs:
fail-fast: false
matrix:
cfengine: [ "lucee@5", "adobe@2018", "adobe@2021" ]
coldboxVersion: [ "be" ]
coldboxVersion: [ "^7" ]
experimental: [ false ]
include:
# Engines BE
- cfengine: "adobe@2023"
coldboxVersion: "be"
experimental: true
- cfengine: "lucee@be"
coldboxVersion: "be"
experimental: true
# ColdBox BE on all allowed distros
- cfengine: "lucee@5"
coldboxVersion: "be"
experimental: true
- cfengine: "adobe@2018"
coldboxVersion: "be"
experimental: true
- cfengine: "adobe@2021"
coldboxVersion: "be"
experimental: true

steps:
- name: Checkout Repository
Expand Down Expand Up @@ -60,8 +71,9 @@ jobs:
printf "DB_USER=${{ env.DB_USER }}\n" >> .env
printf "DB_PASSWORD=${{ env.DB_PASSWORD }}\n" >> .env
printf "DB_CLASS=com.mysql.cj.jdbc.Driver\n" >> .env
printf "DB_BUNDLEVERSION=8.0.19\n" >> .env
printf "DB_BUNDLEVERSION=8.0.24\n" >> .env
printf "DB_BUNDLENAME=com.mysql.cj\n" >> .env
printf "DB_CONNECTIONSTRING=jdbc:mysql://127.0.0.1:3306/contentbox?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&useLegacyDatetimeCode=true\n" >> .env
- name: Add Hibernate Logging
if: "${{ matrix.cfengine != 'lucee@5' }}"
Expand All @@ -72,25 +84,12 @@ jobs:
cp build/resources/log4j.properties .engines/acf2018/WEB-INF/cfusion/lib/
cp build/resources/log4j.properties .engines/acf2021/WEB-INF/cfusion/lib/
- name: Cache CommandBox Dependencies
uses: actions/cache@v1
if: ${{ true }}
with:
path: ~/.CommandBox/artifacts
key: ${{ runner.OS }}-commandbox-cache-${{ hashFiles( 'box.json' ) }}-${{ hashFiles( 'modules/contentbox/box.json' ) }}
restore-keys: |
${{ runner.OS }}-commandbox-cache-${{ hashFiles( 'box.json' ) }}-${{ hashFiles( 'modules/contentbox/box.json' ) }}
- name: Install Dependencies
run: |
- name: Install Test Harness with ColdBox ${{ matrix.coldboxVersion }}
run: |
# Seed ColdBox Version
box package set dependencies.coldbox=${{ matrix.coldboxVersion }}
# Site dependencies
box install
# ContentBox dependencies
cd modules/contentbox && box install
# Install Dependencies
box run-script contentbox:install
- name: Start ${{ matrix.cfengine }} Server
run: |
Expand Down

0 comments on commit 6c254d6

Please sign in to comment.