Skip to content

Commit 4906c71

Browse files
authored
Merge pull request #2 from codeadict/chore/ci-fix-2
ci: Change codecov rebar plugin
2 parents d929cef + e495a1d commit 4906c71

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ jobs:
2727
include:
2828
# Latest - run all checks
2929
- otp: '28.1'
30-
rebar3: '3.24.0'
30+
rebar3: '3.25.0'
3131
lint: true
3232
dialyzer: true
3333
coverage: true
3434
# Stable
3535
- otp: '27.2'
36-
rebar3: '3.24.0'
36+
rebar3: '3.25.0'
3737
# Minimum supported
3838
- otp: '25.3'
39-
rebar3: '3.23.0'
39+
rebar3: '3.24.0'
4040

4141
steps:
4242
- name: Checkout
@@ -96,14 +96,14 @@ jobs:
9696

9797
- name: Generate coverage report
9898
if: ${{ matrix.coverage }}
99-
run: rebar3 covertool generate
99+
run: rebar3 as test codecov analyze
100100

101101
- name: Upload coverage to Codecov
102102
if: ${{ matrix.coverage }}
103-
uses: codecov/codecov-action@v4
103+
uses: codecov/codecov-action@v5.5.2
104104
with:
105-
files: _build/test/covertool/gen_http.covertool.xml
106-
fail_ci_if_error: false
105+
files: _build/test/codecov/codecov.json
106+
fail_ci_if_error: true
107107
flags: erlang-${{ matrix.otp }}
108108
name: Erlang/OTP ${{ matrix.otp }}
109109
verbose: true # optional (default = false)

.github/workflows/h2-compliance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
env:
2020
OTP_VERSION: '28.1'
21-
REBAR3_VERSION: '3.24.0'
21+
REBAR3_VERSION: '3.25.0'
2222

2323
steps:
2424
- name: Checkout

rebar.config

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
]}.
1515

1616
{project_plugins, [
17-
{covertool, "~> 2.0"},
17+
{rebar3_codecov, {git, "https://github.com/esl/rebar3_codecov.git", {ref, "89915c0\n"}}},
1818
{rebar3_lint, "~> 4.2"},
1919
{erlfmt, "~> 1.7"},
2020
{rebar3_proper, "~> 0.12"}
@@ -96,13 +96,6 @@
9696
{cover_opts, [verbose]}.
9797
{cover_print_enabled, true}.
9898
{cover_export_enabled, true}.
99-
{covertool, [
100-
{coverdata_files, [
101-
"eunit.coverdata",
102-
"proper.coverdata",
103-
"ct.coverdata"
104-
]}
105-
]}.
10699

107100
{alias, [
108101
{test, [

0 commit comments

Comments
 (0)