run_emqx_app_tests.yaml 720 B

12345678910111213141516171819202122232425262728293031323334353637
  1. name: Check emqx app standalone
  2. on:
  3. push:
  4. tags:
  5. - v*
  6. - e*
  7. pull_request:
  8. jobs:
  9. check_all:
  10. strategy:
  11. matrix:
  12. otp:
  13. - 23.3.4.9-3
  14. - 24.1.5-2
  15. runs-on: ubuntu-20.04
  16. container: "ghcr.io/emqx/emqx-builder/5.0-2:${{ matrix.otp }}-ubuntu20.04"
  17. steps:
  18. - uses: actions/checkout@v2
  19. - name: run
  20. run: |
  21. make ensure-rebar3
  22. cp rebar3 apps/emqx/
  23. cd apps/emqx
  24. ./rebar3 xref
  25. ./rebar3 dialyzer
  26. ./rebar3 eunit -v
  27. ./rebar3 ct -v
  28. ./rebar3 proper -d test/props
  29. - uses: actions/upload-artifact@v1
  30. if: failure()
  31. with:
  32. name: logs
  33. path: apps/emqx/_build/test/logs