Skip to content

Commit

Permalink
Add codecov coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Dec 6, 2023
1 parent a307ea6 commit 6fd7de3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
- run: rebar3 as test compile
- run: rebar3 do xref, dialyzer
if: ${{ matrix.otp_vsn == '26.1' }}
- run: rebar3 ct --cover
- run: rebar3 cover
- run: rebar3 do ct --cover
- run: rebar3 as test codecov analyze
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ _build
rebar3.crashdump
*~
doc/
codecov.json
3 changes: 1 addition & 2 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@

{profiles, [
{test, [
{erl_opts, []},
{project_plugins, [{rebar3_codecov, "0.6.0"}]},
{plugins, [{rebar3_codecov, "0.6.0"}]},
{deps, [{proper, "1.4.0"}]}
]},
{prod, [
Expand Down

0 comments on commit 6fd7de3

Please sign in to comment.