Skip to content

Remove unnecessary abstraction FBTpb and make sure copies of the TPB … #468

Remove unnecessary abstraction FBTpb and make sure copies of the TPB …

Remove unnecessary abstraction FBTpb and make sure copies of the TPB … #468

Workflow file for this run

name: run-tests
on: [push,pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: juarezr/[email protected]
with:
version: 'v4.0'
isc_password: 'masterkey'
enable_legacy_client_auth: 'true'
- uses: actions/checkout@v4
- name: Set up Java 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@db19848a5fa7950289d3668fb053140cf3028d43
- name: Build with Gradle
run: ./gradlew test -Ptest.dbondocker=true -Ptest.db.dir=/firebird/data
- name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
# Restoring these files from a GitHub Actions cache might cause problems for future builds.
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties
rm -fr ~/.gradle/caches/*/plugin-resolution/
find ~/.gradle/caches/ -name "*.lock" -type f -delete
- name: Store Report Artifact
uses: actions/upload-artifact@v4
if: always()
with:
name: report-artifacts
path: build/reports
compression-level: 9
retention-days: 7