Skip to content

fix(reader): skip dataloss gap error #659

fix(reader): skip dataloss gap error

fix(reader): skip dataloss gap error #659

Workflow file for this run

name: main
on:
push:
branches: [main, master, dirty]
pull_request:
branches: [main, master, dirty]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: "11"
distribution: "adopt"
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: check Java & Kotlin code format
run: |
./gradlew spotlessJavaCheck
./gradlew spotlessKotlinCheck
./gradlew spotlessKotlinGradleCheck
- name: build and run unit tests
run: ./gradlew build
- name: upload unit-tests-reports
uses: actions/upload-artifact@v2
if: ${{ success() }} || ${{ failure() }}
with:
name: unit-tests-reports
path: |
client/build/reports
retention-days: 7
- name: publish to mavenLocal
run: ./gradlew publishToMavenLocal -PdisableSigning
- name: fetch integration tests source code
uses: actions/checkout@v3
with:
submodules: "recursive"
repository: "hstreamdb/integration-tests"
path: integration-tests
- uses: gradle/wrapper-validation-action@v1
- name: run integration tests
run: |
cd integration-tests
./gradlew test -PenableMavenLocal --info --fail-fast -Dtag='basicTest'
- name: upload integration-tests-reports
uses: actions/upload-artifact@v2
if: ${{ success() }} || ${{ failure() }}
with:
name: integration-tests-reports
path: |
integration-tests/.logs
integration-tests/app/build/reports
retention-days: 7