You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/12/17 05:57:19 UTC

[GitHub] [skywalking-swck] hanahmily commented on a change in pull request #16: Add unit test case for operator

hanahmily commented on a change in pull request #16:
URL: https://github.com/apache/skywalking-swck/pull/16#discussion_r544831481



##########
File path: .github/workflows/go.yml
##########
@@ -37,17 +55,30 @@ jobs:
         uses: actions/checkout@v2
       - name: Update dependencies 
         run: GOPROXY=https://proxy.golang.org go mod download
-      - name: Lint
-        run: make lint
-      - name: Check
-        run: make check
       - name: Build
         run: make
       - name: Build docker image
         run: make docker-build
+  unit-tests:
+    name: Unit tests
+    runs-on: ubuntu-20.04
+    steps:
+      - name: Install Go
+        uses: actions/setup-go@v2
+        with:
+          go-version: 1.14
+        id: go
+      - name: Check out code into the Go module directory
+        uses: actions/checkout@v2
+      - name: Update dependencies
+        run: GOPROXY=https://proxy.golang.org go mod download
+      - name: "install kubebuilder"
+        run: ./hack/install-kubebuilder.sh
+      - name: tests
+        run: make test
   checks:
-    name: build

Review comment:
       done. change the name to `ci` that is more sense to me.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org