criu/.github
Ahmed Elaidy 9505f4f63e
ci: stabilize gcov-test coverage upload
Two problems made gcov-test unreliable:

1. The gcov step ran with --max-procs 4, causing multiple gcov
   processes to concurrently read and update the same .gcda files.
   GCC does not protect these files against concurrent access, so
   this can silently corrupt coverage data or produce
   non-deterministic failures. Drop --max-procs to serialize gcov.

2. 'make codecov' curls the uploader binary from
   https://uploader.codecov.io/latest/linux/codecov at job
   runtime. This fails on Codecov CDN outages and on pull requests
   from forks where CODECOV_TOKEN is not forwarded. Replace this
   step with the pinned codecov/codecov-action@v5, which avoids
   the runtime curl and handles both authenticated and
   unauthenticated cases gracefully.

Fixes: #2911
Signed-off-by: Ahmed Elaidy <elaidya225@gmail.com>
2026-07-21 13:40:18 +02:00
..
workflows ci: stabilize gcov-test coverage upload 2026-07-21 13:40:18 +02:00
copilot-instructions.md github: add Copilot repository-specific instructions 2026-07-21 13:40:17 +02:00
ISSUE_TEMPLATE.md github: Add templates for new issues and pull requests 2021-09-03 10:31:00 -07:00
PULL_REQUEST_TEMPLATE.md github: Add templates for new issues and pull requests 2021-09-03 10:31:00 -07:00