From 2fc7026e632ea2faa46bc3fab3ea4d14ce9929ef Mon Sep 17 00:00:00 2001 From: Toan Nguyen Date: Mon, 26 Feb 2024 12:31:25 +0700 Subject: [PATCH] add test for example/subscription --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a5ed5a2..ea259ca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,6 +52,11 @@ jobs: version: latest only-new-issues: true skip-cache: false + - name: Run Go unit tests for example/subscription + run: | + cd example/subscription + go get -t -v ./... + go test -v -race -timeout 3m ./... - name: Run Go unit tests run: go test -v -race -timeout 3m -coverprofile=coverage.out ./... - name: Go coverage format