Merge pull request #8966 from thalesmg/coveralls-test-report

ci: enable running test cases and cover for main-v4.x
This commit is contained in:
Thales Macedo Garitezi 2022-09-19 10:11:32 -03:00 committed by GitHub
commit 485fb5d4f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -59,7 +59,7 @@ jobs:
with:
name: rebar3.crashdump
path: ./rebar3.crashdump
- name: pakcages test
- name: packages test
run: |
export CODE_PATH=$GITHUB_WORKSPACE
.ci/build_packages/tests.sh

View File

@ -5,6 +5,8 @@ on:
tags:
- v*
- e*
branches:
- 'main-v4.?'
pull_request:
jobs:
@ -26,6 +28,7 @@ jobs:
run_common_test:
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
runs-on:
- aws-amd64
@ -110,6 +113,7 @@ jobs:
- name: run cover
run: |
printenv > .env
docker exec -i erlang bash -c "git config --global --add safe.directory /emqx"
docker exec -i erlang bash -c "make cover"
docker exec --env-file .env -i erlang bash -c "make coveralls"
- name: cat rebar.crashdump

View File

@ -103,7 +103,7 @@ plugins(HasElixir) ->
test_plugins() ->
[ rebar3_proper,
{coveralls, {git, "https://github.com/emqx/coveralls-erl", {branch, "fix-git-info"}}}
{coveralls, {git, "https://github.com/emqx/coveralls-erl", {tag, "v2.2.0-emqx-1"}}}
].
test_deps() ->