Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Upgrade covertool
Browse files Browse the repository at this point in the history
  • Loading branch information
tgrk committed Feb 2, 2020
1 parent 6aee031 commit fb8c519
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
name: Display webapp coverage report
command: rebar3 cover -v
- run:
name: Convert coverage report to codecov supported format
command: bin/covertool -cover _build/test/cover/eunit.coverdata -appname lager_humio_backend -output cobertura.xml
name: Generate coverage report to codecov supported format
command: rebar3 covertool generate -p2
- run:
name: Upload coverage report to Codecov
command: |
python3 -m venv venv
. venv/bin/activate
pip3 install --upgrade codecov
codecov
codecov -f _build/test/covertool/lager_humio_backend.covertool.xml
- save_cache:
key: build-cache-{{ checksum "rebar.lock" }}
paths:
Expand Down
Binary file removed bin/covertool
Binary file not shown.
12 changes: 7 additions & 5 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
, {iso8601, "1.3.1"}
, {meck, "0.8.11"}
, {eunit_formatters, "0.5.0"}
, {covertool, "2.0.0"}
]}.

{overrides,
Expand All @@ -36,12 +37,13 @@
}]
}
]}


]}.

{cover_enabled, true}.
{cover_print_enabled, true}.
{eunit_opts, [verbose,
no_tty,
{report, {eunit_progress, [colored]}}]}.
{plugins, [covertool]}.
{cover_export_enabled, true}.
{covertool_eunit, {".eunit/eunit.coverdata", "eunit.coverage.xml"}}.
{covertool_prefix_len, 2}.

{xref_checks, [undefined_function_calls]}.
4 changes: 3 additions & 1 deletion rebar.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{"1.1.0",
[{<<"eunit_formatters">>,{pkg,<<"eunit_formatters">>,<<"0.5.0">>},0},
[{<<"covertool">>,{pkg,<<"covertool">>,<<"2.0.0">>},0},
{<<"eunit_formatters">>,{pkg,<<"eunit_formatters">>,<<"0.5.0">>},0},
{<<"goldrush">>,{pkg,<<"goldrush">>,<<"0.1.9">>},1},
{<<"iso8601">>,{pkg,<<"iso8601">>,<<"1.3.1">>},0},
{<<"jiffy">>,{pkg,<<"jiffy">>,<<"0.15.2">>},0},
{<<"lager">>,{pkg,<<"lager">>,<<"3.6.4">>},0},
{<<"meck">>,{pkg,<<"meck">>,<<"0.8.11">>},0}]}.
[
{pkg_hash,[
{<<"covertool">>, <<"2E0172F35D95AA573F113970E077FBA644DD809F450C27E88C173CA3A66FDB42">>},
{<<"eunit_formatters">>, <<"6A9133943D36A465D804C1C5B6E6839030434B8879C5600D7DDB5B3BAD4CCB59">>},
{<<"goldrush">>, <<"F06E5D5F1277DA5C413E84D5A2924174182FB108DABB39D5EC548B27424CD106">>},
{<<"iso8601">>, <<"D1CEE73F56D71C35590C6B2DB2074873BF410BABAAB768F6EA566366D8CA4810">>},
Expand Down

0 comments on commit fb8c519

Please sign in to comment.