From 4a4014855f6cd006cfaba949befd38a4ce13c502 Mon Sep 17 00:00:00 2001 From: xujun540 <17683768715@163.com> Date: Wed, 15 Sep 2021 17:20:04 +0800 Subject: [PATCH] chore(autotest): add api test script --- .github/workflows/run_api_tests.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run_api_tests.yaml b/.github/workflows/run_api_tests.yaml index 57037616c..25f67d916 100644 --- a/.github/workflows/run_api_tests.yaml +++ b/.github/workflows/run_api_tests.yaml @@ -2,9 +2,9 @@ name: API Test Suite on: push: - tags: - - e* - - v* + tags: + - e* + - v* pull_request: jobs: @@ -13,6 +13,8 @@ jobs: container: "emqx/build-env:erl23.2.7.2-emqx-2-ubuntu20.04" steps: - uses: actions/checkout@v2 + with: + repository: emqx/emqx - name: zip emqx-broker if: endsWith(github.repository, 'emqx') run: | @@ -39,6 +41,10 @@ jobs: - api_clients - api_routes - api_publish + - api_user + - api_login + - api_banned + - api_alarms steps: - uses: actions/checkout@v2 with: @@ -90,11 +96,6 @@ jobs: with: name: jmeter_logs path: ./jmeter_logs - - uses: actions/upload-artifact@v1 - if: failure() - with: - name: jmeter_logs - path: emqx/log delete-package: runs-on: ubuntu-20.04 needs: api-test