diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-05 09:29:39 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-05 09:29:39 -0500 |
| commit | 8e15315aa47f2ffbf3624ea67a68b7a5f80b2a7f (patch) | |
| tree | feb427f05ea88bc669cfd6d5433c770eeda51461 /.github | |
| parent | 4414d9e4d3c1a3113e38353e38ec11d6de6ba8d8 (diff) | |
| download | emacs-wttrin-8e15315aa47f2ffbf3624ea67a68b7a5f80b2a7f.tar.gz emacs-wttrin-8e15315aa47f2ffbf3624ea67a68b7a5f80b2a7f.zip | |
ci: upload coverage to Coveralls
Added a step to the coverage job that uploads `.coverage/simplecov.json` to Coveralls via `coverallsapp/github-action@v2`. The token is read from the `COVERALLS_REPO_TOKEN` repo secret. The step is set to `continue-on-error: true` so a Coveralls outage doesn't block the build, and the artifact upload stays in place as a fallback for debugging.
`run-coverage-file.el` is unchanged. Undercover still produces simplecov JSON locally and on CI; the action handles the upload to coveralls.io with the right CI metadata.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8121581..4876c76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,3 +92,12 @@ jobs: path: .coverage/simplecov.json if-no-files-found: error retention-days: 30 + + - name: Send coverage to Coveralls + uses: coverallsapp/github-action@v2 + continue-on-error: true + with: + file: .coverage/simplecov.json + format: simplecov + env: + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} |
