Просмотр исходного кода

chore(autotest): add api test script

xujun540 4 лет назад
Родитель
Сommit
4a4014855f
1 измененных файлов с 9 добавлено и 8 удалено
  1. 9 8
      .github/workflows/run_api_tests.yaml

+ 9 - 8
.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