mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Workaround so coveralls website shows git commit information
References: https://github.com/markusn/coveralls-erl/pull/36 https://github.com/deadtrickster/prometheus.erl/pull/123
This commit is contained in:
parent
9010c35193
commit
2b0d724aef
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -171,7 +171,14 @@ jobs:
|
||||
if: matrix.otp == 24.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: rebar3 as test coveralls send
|
||||
run: |
|
||||
rebar3 as test coveralls send
|
||||
curl -v -k https://coveralls.io/webhook \
|
||||
--header "Content-Type: application/json" \
|
||||
--data '{"repo_name":"$GITHUB_REPOSITORY",
|
||||
"repo_token":"$GITHUB_TOKEN",
|
||||
"payload":{"build_num":$GITHUB_RUN_ID,
|
||||
"status":"done"}}'
|
||||
|
||||
binaries:
|
||||
name: Binaries
|
||||
|
@ -363,7 +363,9 @@ Rules = [
|
||||
{clean, {asn, clean}}
|
||||
]}]), []},
|
||||
{[plugins], IsRebar3 and (os:getenv("GITHUB_ACTIONS") == "true"),
|
||||
AppendList([coveralls]), []},
|
||||
AppendList([{coveralls, {git,
|
||||
"https://github.com/RoadRunnr/coveralls-erl.git",
|
||||
{branch, "feature/git-info"}}} ]), []},
|
||||
{[overrides], [post_hook_configure], SystemDeps == false,
|
||||
AppendList2(GenDepsConfigure), [], []},
|
||||
{[ct_extra_params], [eunit_compile_opts], true,
|
||||
|
Loading…
Reference in New Issue
Block a user