-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
376 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,10 +20,26 @@ jobs: | |
DB_PASSWORD: root | ||
AWS_DOMAIN: amazonaws.com | ||
AWS_REGION: us-east-1 | ||
continue-on-error: ${{ matrix.experimental }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
cfengine: [ "lucee@5", "adobe@2018", "adobe@2021" ] | ||
cfengine: [ "lucee@5", "adobe@2018", "adobe@2021" ] | ||
coldboxVersion: [ "^6.0.0" ] | ||
experimental: [ false ] | ||
include: | ||
- cfengine: "adobe@2023" | ||
coldboxVersion: "^6.0.0" | ||
experimental: true | ||
- coldboxVersion: "be" | ||
cfengine: "lucee@5" | ||
experimental: true | ||
- coldboxVersion: "be" | ||
cfengine: "adobe@2018" | ||
experimental: true | ||
- coldboxVersion: "be" | ||
cfengine: "adobe@2021" | ||
experimental: true | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
@@ -53,21 +69,22 @@ jobs: | |
printf "AWS_REGION=${{ env.AWS_REGION }}\n" >> .env | ||
printf "AWS_DOMAIN=${{ env.AWS_DOMAIN }}\n" >> .env | ||
printf "ENGINE=${{ matrix.cfengine }}\n" >> .env | ||
printf "COLDBOX_VERSION=${{ matrix.coldboxVersion }}\n" >> .env | ||
- name: Setup CommandBox CLI | ||
uses: Ortus-Solutions/[email protected] | ||
|
||
- name: Install Dependencies | ||
- name: Install Test Harness with ColdBox ${{ matrix.coldboxVersion }} | ||
run: | | ||
box run-script install:dependencies | ||
box install | ||
cd test-harness | ||
box package set dependencies.coldbox=${{ matrix.coldboxVersion }} | ||
box install | ||
- name: Start ${{ matrix.cfengine }} Server | ||
run: | | ||
box server start serverConfigFile="server-${{ matrix.cfengine }}.json" --noSaveSettings --debug | ||
# Install Adobe 2021 cfpm modules | ||
if [[ "${{ matrix.cfengine }}" == "adobe@2021" ]] ; then | ||
box run-script install:2021 | ||
fi | ||
curl http://127.0.0.1:60299 | ||
- name: Run Tests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name":"Amazon S3 SDK", | ||
"version":"5.6.0", | ||
"version":"5.7.0", | ||
"slug":"s3sdk", | ||
"location":"https://downloads.ortussolutions.com/ortussolutions/coldbox-modules/s3sdk/@build.version@/[email protected]@.zip", | ||
"author":"Ortus Solutions, Corp", | ||
|
@@ -46,9 +46,6 @@ | |
"format":"cfformat run models,test-harness/tests/**/*.cfc,*.cfc --overwrite", | ||
"format:watch":"cfformat watch models,test-harness/tests/**/*.cfc,*.cfc ./.cfformat.json", | ||
"format:check":"cfformat check models,test-harness/tests/**/*.cfc,*.cfc", | ||
"cfpm":"echo '\".engine/adobe2021/WEB-INF/cfusion/bin/cfpm.sh\"' | run", | ||
"cfpm:install":"echo '\".engine/adobe2021/WEB-INF/cfusion/bin/cfpm.sh\" install ${1}' | run", | ||
"install:2021":"run-script cfpm:install zip,debugger,mysql", | ||
"install:dependencies":"install && cd test-harness && install" | ||
"install:dependencies":"install --force && cd test-harness && install --force" | ||
} | ||
} |
Oops, something went wrong.