Skip to content

Commit

Permalink
add test with new extension via context
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jul 9, 2024
1 parent 71ca123 commit dc03f05
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/bad-cfconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
luceeVersionQuery: ${{ matrix.luceeVersion }}
preCleanup: false

- name: Check bad .CFConfig with newer image extension LUCEE_BASE_CONFIG
- name: Check good .CFConfig with newer image extension LUCEE_BASE_CONFIG
uses: lucee/script-runner@main
if: always()
with:
Expand All @@ -74,6 +74,20 @@ jobs:
env:
LUCEE_BASE_CONFIG: ${{ github.workspace }}/custom/bad-cfconfig/.CFConfig-newer-extension.json5

- name: Copy .CFConfig-newer-extension.json5 into context
if: always()
run: |
mkdir -p /home/runner/work/_actions/lucee/script-runner/main/temp/lucee/lucee-server/context/
cp -a ${{ github.workspace }}/custom/bad-cfconfig/.CFConfig-newer-extension.json5 /home/runner/work/_actions/lucee/script-runner/main/temp/lucee/lucee-server/context/.CFConfig.json
- name: Check good .CFConfig with newer image extension ( via context )
uses: lucee/script-runner@main
if: always()
with:
webroot: ${{ github.workspace }}/custom/bad-cfconfig
execute: /debug.cfm
luceeVersionQuery: ${{ matrix.luceeVersion }}
preCleanup: false

- name: Check bad .CFConfig with unknown extension version LUCEE_BASE_CONFIG
uses: lucee/script-runner@main
if: always()
Expand Down

0 comments on commit dc03f05

Please sign in to comment.