#871 Backport to Jaybird 5: #839 Protocol 19 and native implementatio… #724
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: run-tests | |
| on: [push,pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - uses: juarezr/firebirdsql-github-action@v2.0.0 | |
| with: | |
| version: '5.0.2' | |
| firebird_root_password: 'masterkey' | |
| enable_legacy_client_auth: 'true' | |
| firebird_conf: 'WireCrypt=Enabled' | |
| - uses: actions/checkout@v4 | |
| - name: Set up Java 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 | |
| with: | |
| cache-read-only: ${{ github.ref != 'refs/heads/Branch_5_0' }} | |
| - name: Build with Gradle | |
| run: ./gradlew test -PbuildProfile=java11 -Ptest.dbondocker=true -Ptest.db.dir=/var/lib/firebird/data | |
| - name: Store Report Artifact | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: report-artifacts | |
| path: build/reports | |
| compression-level: 9 | |
| retention-days: 7 |