You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by zi...@apache.org on 2022/09/14 09:54:18 UTC

[pulsar-test-infra] branch master updated: add ci for docbot (#72)

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

zixuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-test-infra.git


The following commit(s) were added to refs/heads/master by this push:
     new 88062a3  add ci for docbot (#72)
88062a3 is described below

commit 88062a3edeb20ac9295cc95812b92c18d897a3f4
Author: tison <wa...@gmail.com>
AuthorDate: Wed Sep 14 17:54:13 2022 +0800

    add ci for docbot (#72)
    
    * add ci for docbot
    
    Signed-off-by: tison <wa...@gmail.com>
---
 .github/workflows/docbot-unit.yml | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/.github/workflows/docbot-unit.yml b/.github/workflows/docbot-unit.yml
new file mode 100644
index 0000000..c11349e
--- /dev/null
+++ b/.github/workflows/docbot-unit.yml
@@ -0,0 +1,38 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Docbot Unit Tests
+on:
+  pull_request:
+    branches:
+      - master
+    paths:
+      - '.github/workflows/**'
+      - 'docbot/**'
+
+jobs:
+  unit-test:
+    name: Unit Tests
+    runs-on: ubuntu-20.04
+    steps:
+      - uses: actions/checkout@v3
+      - uses: actions/setup-go@v3
+        with:
+          go-version: 1.18
+      - name: Go test
+        working-directory: docbot
+        run: go test -v ./...