Skip to content

Commit

Permalink
update test install
Browse files Browse the repository at this point in the history
  • Loading branch information
jclausen committed Jul 23, 2024
1 parent 874b3c5 commit aa7618b
Showing 1 changed file with 8 additions and 25 deletions.
33 changes: 8 additions & 25 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
cfengine: [ "lucee@5", "adobe@2018", "adobe@2021", "adobe@2023" ]
coldboxVersion: [ "^6.0.0", "^7.0.0" ]
coldboxVersion: [ "^7.0.0" ]
experimental: [ false ]
# Here we tests all engines against ColdBox@BE
include:
Expand All @@ -39,12 +39,6 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

# - name: Setup Database and Fixtures
# run: |
# sudo systemctl start mysql.service
# mysql -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }} -e 'CREATE DATABASE mementifier;'
# mysql -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }} < test-harness/tests/resources/coolblog.sql

- name: Setup Java
uses: actions/setup-java@v4
with:
Expand All @@ -54,27 +48,16 @@ jobs:
- name: Setup CommandBox CLI
uses: Ortus-Solutions/setup-commandbox@v2.0.1

# Not Needed in this module
#- name: Setup Environment For Testing Process
# run: |
# # Setup .env
# touch .env
# # ENV
# printf "DB_HOST=localhost\n" >> .env
# printf "DB_DATABASE=mydatabase\n" >> .env
# printf "DB_DRIVER=MySQL\n" >> .env
# 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_BUNDLENAME=com.mysql.cj\n" >> .env
- name: Setup Environment For Testing Process
run: |
# Setup .env
touch .env
# ENV
printf "STRIPE_API_KEY=${{ env.STRIPE_API_KEY }}\n" >> .env
- name: Install Test Harness with ColdBox ${{ matrix.coldboxVersion }}
run: |
box install
cd test-harness
box package set dependencies.coldbox=${{ matrix.coldboxVersion }}
box install
box run-script install:dependencies
- name: Start ${{ matrix.cfengine }} Server
run: |
Expand Down

0 comments on commit aa7618b

Please sign in to comment.