More more boxlang server fixes #244
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", "adobe@2021", "adobe@2023", "boxlang@be"] | |
fullNull: ["true", "false"] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3.2.0 | |
- name: Setup Java JDK | |
uses: actions/setup-java@v3.9.0 | |
with: | |
distribution: 'zulu' | |
java-version: 11 | |
- name: Set Up CommandBox | |
uses: elpete/setup-commandbox@v1.0.0 | |
- 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 }} | |
fi | |
- name: Run TestBox Tests | |
env: | |
FULL_NULL: ${{matrix.fullNull}} | |
run: box testbox run | |
format: | |
runs-on: ubuntu-latest | |
name: Format | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3.2.0 | |
- name: Setup Java JDK | |
uses: actions/setup-java@v3.9.0 | |
with: | |
distribution: 'zulu' | |
java-version: 11 | |
- name: Set Up CommandBox | |
uses: elpete/setup-commandbox@v1.0.0 | |
- 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 |