Cron #50
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: Cron | |
| on: | |
| schedule: | |
| - cron: 0 0 * * 1 | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| name: Tests | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| cfengine: ["lucee@5", "lucee@6", "adobe@2021", "adobe@2023", "boxlang-cfml@1"] | |
| coldbox: ["^6.0.0", "^7.0.0", "^8.0.0"] | |
| experimental: [ false ] | |
| include: | |
| - cfengine: "lucee@be" | |
| coldbox: "^6.0.0" | |
| experimental: true | |
| - cfengine: "lucee@be" | |
| coldbox: "^7.0.0" | |
| experimental: true | |
| - cfengine: "lucee@be" | |
| coldbox: "^8.0.0" | |
| experimental: true | |
| - cfengine: "adobe@2025" | |
| coldbox: "^7.0.0" | |
| experimental: false | |
| - cfengine: "adobe@2025" | |
| coldbox: "^8.0.0" | |
| experimental: false | |
| - cfengine: "adobe@be" | |
| coldbox: "^6.0.0" | |
| experimental: true | |
| - cfengine: "adobe@be" | |
| coldbox: "^7.0.0" | |
| experimental: true | |
| - cfengine: "adobe@be" | |
| coldbox: "^8.0.0" | |
| experimental: true | |
| - cfengine: "boxlang@be" | |
| coldbox: "^8.0.0" | |
| experimental: true | |
| - cfengine: "boxlang@1" | |
| coldbox: "^8.0.0" | |
| experimental: 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: 21 | |
| - name: Set Up CommandBox | |
| uses: Ortus-Solutions/setup-commandbox@v2.0.1 | |
| with: | |
| install: commandbox-boxlang,commandbox-cfconfig | |
| - name: Install dependencies | |
| run: | | |
| box install | |
| box install coldbox@${{ matrix.coldbox }} --noSave | |
| - name: Start server | |
| run: | | |
| box server start serverConfigFile="server-${{ matrix.cfengine }}.json" --noSaveSettings --debug | |
| curl http://127.0.0.1:8500 | |
| - name: Run TestBox Tests | |
| continue-on-error: ${{ matrix.experimental }} | |
| run: box testbox run |