diff options
author | Badlop <badlop@process-one.net> | 2021-06-03 16:48:10 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2021-06-06 16:56:29 +0200 |
commit | 2b0d724aef722b2a2fb0a07193e8a56b5db06fa8 (patch) | |
tree | 2c53d24dd22b40b8732be3fd2636bdefc6c722f1 /.github/workflows/ci.yml | |
parent | CI: Get rebar3 compatible with previous OTP, the one in Ubuntu 20.04 is not (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/ci.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6e2cead..64e180c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 |