From 8e15315aa47f2ffbf3624ea67a68b7a5f80b2a7f Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Tue, 5 May 2026 09:29:39 -0500 Subject: 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. --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.github') 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 }} -- cgit v1.2.3