From be634742b40858252af6d3c1cf09f739eeb510c9 Mon Sep 17 00:00:00 2001 From: kv Date: Mon, 17 Aug 2020 21:06:06 +0800 Subject: [PATCH 1/3] feat: add ci --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..91d5970 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +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: | + ginkgo -r \ No newline at end of file From d643511728bd9caa7d0a7f866002aef60e34511d Mon Sep 17 00:00:00 2001 From: kv Date: Mon, 17 Aug 2020 21:09:20 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20use=20Running=20Suite:=20ApisixContr?= =?UTF-8?q?olPlane=20Suite=20=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D?= =?UTF-8?q?=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D?= =?UTF-8?q?=3D=3D=3D=20Random=20Seed:=20=1B[1m1597669760=1B[0m=20Will=20ru?= =?UTF-8?q?n=20=1B[1m0=1B[0m=20of=20=1B[1m0=1B[0m=20specs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ran 0 of 0 Specs in 0.000 seconds SUCCESS! -- 0 Passed | 0 Failed | 0 Pending | 0 Skipped PASS ok github.com/apache/apisix-control-plane 0.011s instead ofginkgo --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91d5970..6087377 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,4 +25,4 @@ jobs: - name: run test working-directory: ./ run: | - ginkgo -r \ No newline at end of file + go test ./... \ No newline at end of file From d0db41a8f8b18e24aab1e21d212c16f37ba50427 Mon Sep 17 00:00:00 2001 From: kv Date: Mon, 17 Aug 2020 21:11:27 +0800 Subject: [PATCH 3/3] fix: add EOL --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6087377..5cb31d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,4 +25,5 @@ jobs: - name: run test working-directory: ./ run: | - go test ./... \ No newline at end of file + go test ./... +