mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +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
|
if: matrix.otp == 24.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
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:
|
binaries:
|
||||||
name: Binaries
|
name: Binaries
|
||||||
|
@ -363,7 +363,9 @@ Rules = [
|
|||||||
{clean, {asn, clean}}
|
{clean, {asn, clean}}
|
||||||
]}]), []},
|
]}]), []},
|
||||||
{[plugins], IsRebar3 and (os:getenv("GITHUB_ACTIONS") == "true"),
|
{[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,
|
{[overrides], [post_hook_configure], SystemDeps == false,
|
||||||
AppendList2(GenDepsConfigure), [], []},
|
AppendList2(GenDepsConfigure), [], []},
|
||||||
{[ct_extra_params], [eunit_compile_opts], true,
|
{[ct_extra_params], [eunit_compile_opts], true,
|
||||||
|
Loading…
Reference in New Issue
Block a user