Use correct size (MAX_USHORT) for DEFAULT_MAX_INLINE_BLOB_SIZE #1101
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
| # SPDX-FileCopyrightText: Copyright 2022-2026 Mark Rotteveel | |
| # SPDX-License-Identifier: LGPL-2.1-or-later | |
| name: run-tests | |
| on: [push,pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| java: | |
| - version: 17 | |
| javaInstall: 17 | |
| buildProfile: 17 | |
| testProfile: 17 | |
| - version: 17-test-21 | |
| javaInstall: | | |
| 17 | |
| 21 | |
| buildProfile: 17 | |
| testProfile: 21 | |
| - version: 17-test-25 | |
| javaInstall: | | |
| 17 | |
| 25 | |
| buildProfile: 17 | |
| testProfile: 25 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Login to Docker Hub | |
| # PRs from forks don't have access to the secrets, skip Docker login and hope we don't hit the rate limit | |
| if: ${{ !github.event.pull_request.head.repo.fork }} | |
| uses: docker/login-action@v4 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - uses: juarezr/firebirdsql-github-action@v2.2.0 | |
| with: | |
| version: '5.0.3' | |
| firebird_root_password: 'masterkey' | |
| firebird_conf: 'WireCrypt=Enabled,AuthServer=Srp256;Srp;Legacy_Auth;Srp224;Srp384;Srp512,UserManager=Srp;Legacy_UserManager' | |
| event_port: 3051 | |
| - uses: actions/checkout@v6 | |
| - name: Set up Java ${{ matrix.java.version }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: ${{ matrix.java.javaInstall }} | |
| distribution: 'temurin' | |
| - name: Setup Gradle | |
| # TODO: Review implications of license change before upgrading to version 6 or higher | |
| uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c | |
| with: | |
| cache-read-only: ${{ github.ref != 'refs/heads/master' }} | |
| - name: Build with Gradle | |
| run: ./gradlew test -PbuildProfile=${{ matrix.java.buildProfile }} -PtestProfile=${{ matrix.java.testProfile }} -Ptest.dbondocker=true -Ptest.db.dir=/var/lib/firebird/data -Ptest.event.available=true | |
| - name: Store Report Artifact | |
| uses: actions/upload-artifact@v7 | |
| if: always() | |
| with: | |
| name: report-artifacts-${{ matrix.java.version }} | |
| path: build/reports | |
| compression-level: 9 | |
| retention-days: 7 |