Skip to content

feat(QueryBuilder): Add TestBox expectations for exists checks #258

feat(QueryBuilder): Add TestBox expectations for exists checks

feat(QueryBuilder): Add TestBox expectations for exists checks #258

Workflow file for this run

name: PRs and Branches
on:
push:
branches-ignore:
- "main"
- "master"
- "development"
pull_request:
branches:
- main
- master
- development
jobs:
tests:
runs-on: ubuntu-latest
name: Tests
strategy:
fail-fast: false
matrix:
cfengine: ["lucee@5", "lucee@6", "adobe@2021", "adobe@2023", "adobe@2025", "boxlang@1", "boxlang-cfml@1"]
experimental: [ false ]
fullNull: ["true", "false"]
include:
- cfengine: "lucee@be"
experimental: true
- cfengine: "adobe@be"
experimental: true
- cfengine: "boxlang@be"
experimental: true
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 21
- name: Setup CommandBox CLI
uses: Ortus-Solutions/[email protected]
- name: Install CommandBox-BoxLang
run: box install commandbox-boxlang
- name: Install dependencies
run: |
box install
- name: Start server
run: |
box server start serverConfigFile="server-${{ matrix.cfengine }}.json" --noSaveSettings --debug
curl http://127.0.0.1:60299
- name: Run TestBox Tests
env:
FULL_NULL: ${{matrix.fullNull}}
continue-on-error: ${{ matrix.experimental }}
run: box testbox run
format:
runs-on: ubuntu-latest
name: Format
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 11
- name: Setup CommandBox CLI
uses: Ortus-Solutions/[email protected]
- name: Install CFFormat
run: box install commandbox-cfformat
- name: Run CFFormat
run: box run-script format
- name: Commit Format Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply cfformat changes