fix: hydrate parallel entities inside workers #489
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"] | |
| coldbox: ["coldbox@^7", "coldbox@^8"] | |
| experimental: [false] | |
| fullNull: ["true", "false"] | |
| exclude: | |
| - cfengine: "boxlang@1" | |
| coldbox: "coldbox@^7" | |
| - cfengine: "adobe@2021" | |
| coldbox: "coldbox@^8" | |
| fullNull: "true" | |
| - cfengine: "adobe@2023" | |
| coldbox: "coldbox@^8" | |
| fullNull: "true" | |
| - cfengine: "adobe@2025" | |
| coldbox: "coldbox@^8" | |
| fullNull: "true" | |
| include: | |
| - cfengine: "adobe@be" | |
| coldbox: "coldbox@^7" | |
| experimental: true | |
| fullNull: "true" | |
| - cfengine: "boxlang@be" | |
| coldbox: "coldbox@^8" | |
| experimental: true | |
| fullNull: "true" | |
| services: | |
| mysql: | |
| image: mysql:5.7 | |
| env: | |
| MYSQL_RANDOM_ROOT_PASSWORD: yes | |
| MYSQL_USER: quick | |
| MYSQL_PASSWORD: quick | |
| MYSQL_DATABASE: quick | |
| ports: | |
| - 3306 | |
| options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4.2.2 | |
| - name: Setup Java JDK | |
| uses: actions/setup-java@v4.7.1 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 21 | |
| - name: Set Up CommandBox | |
| uses: Ortus-Solutions/setup-commandbox@v2.0.1 | |
| with: | |
| install: commandbox-boxlang | |
| - name: Install dependencies | |
| run: | | |
| box install | |
| git apply --unidiff-zero .github/patches/testbox-full-null.patch | |
| git apply --unidiff-zero .github/patches/mementifier-full-null.patch | |
| box config set modules.commandbox-dotenv.checkEnvPreServerStart=false | |
| box install ${{ matrix.coldbox }} --noSave | |
| git apply --unidiff-zero .github/patches/coldbox-full-null.patch | |
| if [ "${{ matrix.coldbox }}" = "coldbox@^7" ]; then | |
| git apply --unidiff-zero .github/patches/coldbox7-full-null.patch | |
| fi | |
| - name: Start server | |
| env: | |
| FULL_NULL: ${{ matrix.fullNull }} | |
| DB_HOST: localhost | |
| DB_PORT: ${{ job.services.mysql.ports[3306] }} | |
| DB_NAME: quick | |
| DB_USER: quick | |
| DB_PASSWORD: quick | |
| 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 }} | |
| DB_HOST: localhost | |
| DB_PORT: ${{ job.services.mysql.ports[3306] }} | |
| DB_NAME: quick | |
| DB_USER: quick | |
| DB_PASSWORD: quick | |
| continue-on-error: ${{ matrix.experimental }} | |
| run: box testbox run | |
| format: | |
| runs-on: ubuntu-latest | |
| name: Format | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4.2.2 | |
| - name: Setup Java JDK | |
| uses: actions/setup-java@v4.7.1 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 11 | |
| - name: Set Up CommandBox | |
| uses: Ortus-Solutions/setup-commandbox@v2.0.1 | |
| - 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@v5.2.0 | |
| with: | |
| commit_message: Apply cfformat changes |