From 5977ba911329d4ec07533e9ebd3dafb989b0e186 Mon Sep 17 00:00:00 2001 From: zl Date: Thu, 17 Nov 2022 10:52:59 +0800 Subject: [PATCH] feat: circleci tests for STM enhancement --- .circleci/config.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..51014af --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,33 @@ + +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_common + suite: "unit_test_common" + target: "./common/..." + - go/test: + display-name: unit_test_filemgr + suite: "filemgr" + target: "./filemgr/..." + - go/test: + display-name: integrate_test + suite: " integrate_test" + target: "./integration_test/..." + - go/test: + display-name: unit_test_storage + suite: "unit_test_storage" + target: "./storage/..." +workflows: + ci: + jobs: + - test_all