瀏覽代碼

chore(CI): upload logs when emqx ct failed

zhanghongtong 4 年之前
父節點
當前提交
d4784a0d33
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      .github/workflows/run_emqx_app_tests.yaml

+ 6 - 0
.github/workflows/run_emqx_app_tests.yaml

@@ -24,3 +24,9 @@ jobs:
             ./rebar3 eunit -v
             ./rebar3 eunit -v
             ./rebar3 ct -v
             ./rebar3 ct -v
             ./rebar3 proper -d test/props
             ./rebar3 proper -d test/props
+        - uses: actions/upload-artifact@v1
+          if: failure()
+          with:
+            name: logs
+            path: apps/emqx/_build/test/logs
+