From aa7618bde042ba151aafff0e203fef042c8df13b Mon Sep 17 00:00:00 2001 From: jclausen Date: Tue, 23 Jul 2024 12:52:46 -0600 Subject: [PATCH] update test install --- .github/workflows/tests.yml | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bbb8ed5..6424880 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: @@ -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: @@ -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: |