This is an automated email from the ASF dual-hosted git repository.
kvn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-control-plane.git
The following commit(s) were added to refs/heads/master by this push:
new 4e456d8 feat: add CI (#12)
4e456d8 is described below
commit 4e456d83fb8dfc42fe74ffb4d5fff70f2e7187f8
Author: kv <[email protected]>
AuthorDate: Mon Aug 17 21:12:34 2020 +0800
feat: add CI (#12)
* feat: add ci
* fix: use Running Suite: ApisixControlPlane Suite
=======================================
Random Seed: [1m1597669760[0m
Will run [1m0[0m of [1m0[0m specs
[1m[32mRan 0 of 0 Specs in 0.000 seconds[0m
[1m[32mSUCCESS![0m -- [32m[1m0 Passed[0m | [91m[1m0 Failed[0m |
[33m[1m0 Pending[0m | [36m[1m0 Skipped[0m
PASS
ok github.com/apache/apisix-control-plane 0.011s instead ofginkgo
* fix: add EOL
---
.github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..5cb31d6
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: API CI
+
+on:
+ push:
+ branches:
+ - master
+ - kv/ci
+ pull_request:
+ branches:
+ - master
+
+jobs:
+
+ run-test:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: setup go
+ uses: actions/setup-go@v1
+ with:
+ go-version: '1.13'
+
+ - name: run test
+ working-directory: ./
+ run: |
+ go test ./...
+