From 1629da21ba04bff1c417c490534f11c6838827a2 Mon Sep 17 00:00:00 2001 From: Dmitry Maslennikov Date: Tue, 12 Dec 2023 18:27:16 +0400 Subject: [PATCH] updated ci with tests --- .github/workflows/main.yml | 9 ++++++--- pom.xml | 3 ++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 98fcb54..ab89597 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,11 +41,14 @@ jobs: ./mvnw versions:set-property -Dproperty=version.trino -DnewVersion=${VERSION:0:3} ./mvnw versions:set-property -Dproperty=revision -DnewVersion=${VERSION} cat pom.xml + - name: Run Tests + continue-on-error: true + run: ./mvnw test + - name: Publish Test Report + if: ${{ always() }} + uses: scacap/action-surefire-report@v1 - name: Build with Maven run: ./mvnw -DskipTests package -# - name: Publish Test Report -# if: ${{ always() }} -# uses: scacap/action-surefire-report@v1 - name: Update Release uses: softprops/action-gh-release@v1 with: diff --git a/pom.xml b/pom.xml index 1cc56e3..7a71477 100644 --- a/pom.xml +++ b/pom.xml @@ -6,10 +6,11 @@ com.caretdev trino-iris - ${version.trino} + ${revision} jar + ${version.trino} 433 3.7.1 6.10