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

xyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-go.git


The following commit(s) were added to refs/heads/master by this push:
     new c346caf  Improve test script (#951)
c346caf is described below

commit c346caf0b647650196bf120067459e27010e6522
Author: Zixuan Liu <[email protected]>
AuthorDate: Wed Feb 8 16:35:29 2023 +0800

    Improve test script (#951)
---
 .github/workflows/project.yml | 2 ++
 Dockerfile                    | 2 ++
 Makefile                      | 3 +--
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/project.yml b/.github/workflows/project.yml
index 29e94d0..a52a4be 100644
--- a/.github/workflows/project.yml
+++ b/.github/workflows/project.yml
@@ -14,6 +14,8 @@ jobs:
     steps:
       - uses: actions/checkout@v3
       - uses: golangci/golangci-lint-action@v3
+        with:
+          version: v1.50.1
 
   integration-tests:
     runs-on: ubuntu-latest
diff --git a/Dockerfile b/Dockerfile
index dcc6a26..f66eba5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -37,4 +37,6 @@ COPY integration-tests/conf/.htpasswd \
      integration-tests/conf/standalone.conf \
      /pulsar/conf/
 
+COPY . /pulsar/pulsar-client-go
+
 ENV PULSAR_EXTRA_OPTS="-Dpulsar.auth.basic.conf=/pulsar/conf/.htpasswd"
diff --git a/Makefile b/Makefile
index 130057e..3245434 100644
--- a/Makefile
+++ b/Makefile
@@ -35,8 +35,7 @@ container:
            --build-arg PULSAR_IMAGE="${PULSAR_IMAGE}" .
 
 test: container
-       docker run -i -v ${PWD}:/pulsar-client-go ${IMAGE_NAME} \
-        bash -c "cd /pulsar-client-go && ./scripts/run-ci.sh"
+       docker run -i ${IMAGE_NAME} bash -c "cd /pulsar/pulsar-client-go && 
./scripts/run-ci.sh"
 
 clean:
        docker rmi --force $(IMAGE_NAME) || true

Reply via email to