Skip to content

Cron

Cron #146

Workflow file for this run

name: Cron
on:
schedule:
- cron: 0 0 * * 1
jobs:
tests:
runs-on: ubuntu-latest
name: Tests
strategy:
fail-fast: false
matrix:
cfengine: ["lucee@5", "lucee@be", "adobe@2021", "adobe@2023", "adobe@be", "boxlang@be"]
javaVersion: ["openjdk8", "openjdk11"]
fullNull: ["true", "false"]
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 11
- name: Set Up CommandBox
uses: elpete/[email protected]
- name: Install CommandBox-BoxLang
run: box install commandbox-boxlang
- name: Install dependencies
run: |
box install
- name: Start server
run: |
if [[ "${{ matrix.cfengine }}" == *"boxlang"* ]] ; then
box server start cfengine=${{ matrix.cfengine }} javaVersion=openjdk21_jdk
box run-script bx-modules:install
box server restart
else
box server start cfengine=${{ matrix.cfengine }} javaVersion=${{ matrix.javaVersion }}
fi
- name: Run TestBox Tests
env:
FULL_NULL: ${{matrix.fullNull}}
run: box testbox run