From e629e8f1a69f7eb8c08648a6f67c3becdd9a7e38 Mon Sep 17 00:00:00 2001 From: zl Date: Thu, 17 Nov 2022 16:08:54 +0800 Subject: [PATCH] feat: circleci tests for STM enhancement --- .circleci/config.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..283ade2 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,32 @@ +version: 2.1 + +orbs: + go: venus/go-pkg-test@1.0.1 +jobs: + test_all: + executor: + name: go/default + tag: "cimg/go:1.18.1" + steps: + - go/setup_env: + install_ffi: true + - go/test: + display-name: unit_test_auth + suite: "auth" + target: "./auth/..." + - go/test: + display-name: integrate_test + suite: "integrate_test" + target: "./integrate_test/..." + - go/test: + display-name: unit_test_jwtclient + suite: "jwtclient" + target: "./jwtclient/..." + - go/test: + display-name: unit_test_storage + suite: "storage" + target: "./storage/..." +workflows: + ci: + jobs: + - test_all