From 4e456d83fb8dfc42fe74ffb4d5fff70f2e7187f8 Mon Sep 17 00:00:00 2001 From: kv Date: Mon, 17 Aug 2020 21:12:34 +0800 Subject: [PATCH] feat: add CI (#12) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add ci * fix: use Running Suite: ApisixControlPlane Suite ======================================= Random Seed: 1597669760 Will run 0 of 0 specs 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 * fix: add EOL --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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..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 ./... +