You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by rx...@apache.org on 2020/11/02 10:27:18 UTC

[pulsar] 01/01: fix go function test

This is an automated email from the ASF dual-hosted git repository.

rxl pushed a commit to branch xiaolong/test-2.6.2-ci
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit 922585d3bf7e7b7e9af6727120989d5ce3eef042
Author: xiaolong.ran <rx...@apache.org>
AuthorDate: Mon Nov 2 18:26:43 2020 +0800

    fix go function test
    
    Signed-off-by: xiaolong.ran <rx...@apache.org>
---
 .github/workflows/ci-go-functions-test.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci-go-functions-test.yaml b/.github/workflows/ci-go-functions-test.yaml
index 391f536..49e6481 100644
--- a/.github/workflows/ci-go-functions-test.yaml
+++ b/.github/workflows/ci-go-functions-test.yaml
@@ -40,7 +40,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        go-version: [1.13, 1.14]
+        go-version: [1.11, 1.12, 1.13, 1.14]
     timeout-minutes: 120
 
     steps:
@@ -65,4 +65,5 @@ jobs:
         if: steps.docs.outputs.changed_only == 'no'
         run: |
           cd pulsar-function-go
+          export GO111MODULE=on
           go test -v $(go list ./... | grep -v examples) ${{ matrix.go-version }}