chore(autotest): add api test script

This commit is contained in:
xujun540 2021-09-15 17:20:04 +08:00 committed by Rory Z
parent 60e815fb9a
commit 4a4014855f
1 changed files with 9 additions and 8 deletions

View File

@ -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