From 1a964e731d57a54af20c4564ddbcb86bfe17165a Mon Sep 17 00:00:00 2001 From: Young Bu Park Date: Mon, 13 Jan 2020 17:42:19 -0800 Subject: [PATCH 1/3] set jacoco report output dir --- sdk-actors/pom.xml | 3 +++ sdk/pom.xml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/sdk-actors/pom.xml b/sdk-actors/pom.xml index 162fcd610a..0ed71e0426 100644 --- a/sdk-actors/pom.xml +++ b/sdk-actors/pom.xml @@ -110,6 +110,9 @@ report + + target/jacoco-report/ + check diff --git a/sdk/pom.xml b/sdk/pom.xml index 43259eae50..f96ef80265 100644 --- a/sdk/pom.xml +++ b/sdk/pom.xml @@ -136,6 +136,9 @@ report + + target/jacoco-report/ + check From 40ec185c760f66df95a03c3da7ab1bda4b9d507e Mon Sep 17 00:00:00 2001 From: Young Bu Park Date: Mon, 13 Jan 2020 17:42:27 -0800 Subject: [PATCH 2/3] upload test report --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7bdfd80b27..7dd8bfc9b0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,3 +42,13 @@ jobs: run: mvn test - name: Integration-test run: mvn integration-test + - name: Upload test report for sdk + uses: actions/upload-artifact@master + with: + name: report-dapr-java-sdk + path: sdk/target/jacoco-report/ + - name: Upload test report for sdk-actors + uses: actions/upload-artifact@master + with: + name: report-dapr-java-sdk-actors + path: sdk-actors/target/jacoco-report/ From 2980006f574537d2ff0eff983d7d018fade0e9bc Mon Sep 17 00:00:00 2001 From: Young Bu Park Date: Mon, 13 Jan 2020 17:45:14 -0800 Subject: [PATCH 3/3] add dapr version info --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7dd8bfc9b0..a9d7fec1d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,13 +23,13 @@ jobs: DAPR_RUNTIME_VER: 0.3.0 steps: - uses: actions/checkout@v1 - - name: Set up ${{ env.JDK_VER }} + - name: Set up OpenJDK ${{ env.JDK_VER }} uses: actions/setup-java@v1 with: java-version: ${{ env.JDK_VER }} - name: Set up Dapr CLI run: wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash - - name: Initialize Dapr runtime as a standalone mode + - name: Initialize Dapr runtime ${{ env.DAPR_RUNTIME_VER }} run: | sudo dapr init --runtime-version ${{ env.DAPR_RUNTIME_VER }} echo "Showing dapr version..."