Skip to content

Commit

Permalink
add default cfconfig tests with lucee-zero
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jul 5, 2024
1 parent 2181b3c commit 51e6ca3
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/default-cfconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,35 @@ jobs:
with:
path: /home/runner/work/_actions/lucee/script-runner/main/lucee-download-cache
key: lucee-downloads
- name: Save default .CFConfig.json

- name: Save default .CFConfig.json FAT JAR
uses: lucee/script-runner@main
with:
webroot: ${{ github.workspace }}/custom/default-cfconfig
execute: /saveDefault.cfm
luceeVersionQuery: ${{ matrix.luceeVersion }}
- name: Compare default .CFConfig.json against an empty .CFConfig.json i.e. {}
- name: Compare default .CFConfig.json against an empty .CFConfig.json i.e. {} FAT JAR
uses: lucee/script-runner@main
with:
webroot: ${{ github.workspace }}/custom/default-cfconfig
execute: /compareDefault.cfm
luceeVersionQuery: ${{ matrix.luceeVersion }}
env:
LUCEE_BASE_CONFIG: ${{ github.workspace }}/custom/default-cfconfig/.CFConfig-empty.json

- name: Save default .CFConfig.json ZERO
uses: lucee/script-runner@main
with:
webroot: ${{ github.workspace }}/custom/default-cfconfig
execute: /saveDefault.cfm
luceeVersionQuery: zero-${{ matrix.luceeVersion }}

- name: Compare default .CFConfig.json against an empty .CFConfig.json i.e. {} ZERO
uses: lucee/script-runner@main
with:
webroot: ${{ github.workspace }}/custom/default-cfconfig
execute: /compareDefault.cfm
luceeVersionQuery: zero-${{ matrix.luceeVersion }}
env:
LUCEE_BASE_CONFIG: ${{ github.workspace }}/custom/default-cfconfig/.CFConfig-empty.json

0 comments on commit 51e6ca3

Please sign in to comment.