Files
Stefan HallerandClaude Opus 5.5 cb5c127b55 Write all integration test coverage to LAZYGIT_GOCOVERDIR
If LAZYGIT_GOCOVERDIR is set, run_integration_tests.sh collects the
coverage of the integration tests. Only the lazygit binary writes its
data to that directory, though. The test runner always writes to
/tmp/code_coverage, so the data ends up in two places unless the
variable points there. On CI it always did.

Also, the run fails if the directory doesn't exist yet. With a relative
path, the binary's data goes missing, because the binary runs in the
directory of the test's repo.

Pass the directory to the test runner too, create it if needed, and turn
it into an absolute path.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 12:50:31 +02:00
..
2023-04-29 13:05:05 +10:00
2023-07-31 22:33:04 +10:00