Skip to content

Commit 89ba521

Browse files
committed
ci: use covertool for coverage instead of missing codecov plugin
The codecov command was not available in OTP 28, causing CI failures. Switch to using the already-configured covertool plugin which generates Cobertura XML format that Codecov can consume.
1 parent e05bb14 commit 89ba521

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ jobs:
9696

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

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

0 commit comments

Comments
 (0)