chore(CI): Update to new CI matrix #91
Workflow file for this run
This file contains hidden or 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", "lucee@6", "adobe@2021", "adobe@2023", "adobe@2025", "boxlang@1", "boxlang-cfml@1"] | |
| experimental: [ false ] | |
| coldbox: ["coldbox@6", "coldbox@7", "coldbox@be"] | |
| 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] | |
| with: | |
| install: commandbox-boxlang | |
| - name: Install dependencies | |
| run: | | |
| box install | |
| box install ${{ matrix.coldbox }} --noSave | |
| - 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 | |
| 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 |