Skip to content

ci: Skip the Codecov upload on Windows - #9304

Merged
Esteban82 merged 1 commit into
masterfrom
ci-codecov-skip-windows
Nov 17, 2026
Merged

Esteban82 merged 1 commit into
masterfrom
ci-codecov-skip-windows

Conversation

@Esteban82

Copy link
Copy Markdown
Member

The Windows build has no coverage instrumentation, so the Codecov step finds no gcov data and uploads the CLI's own codecov.exe.SHA256SUM.sig as a coverage file instead. Skip the step on Windows.

Evidence:

gh run view 43998936857 --repo GenericMappingTools/gmt --job 133800489679 --log | grep -E "No gcov data|coverage files to report|SHA256SUM.sig

Output:

Windows UNKNOWN STEP    2026-11-17T04:00:36.6330705Z ^[[0;32m ->^[[0m Downloading ^[[0;36mhttps://cli.codecov.io/latest/windows/codecov.exe.SHA256SUM.sig^[[0m
Windows UNKNOWN STEP    2026-11-17T04:00:39.3824280Z warning - 2026-11-17 04:00:39,381 -- No gcov data found.
Windows UNKNOWN STEP    2026-11-17T04:00:39.5941499Z info - 2026-11-17 04:00:39,592 -- Found 1 coverage files to report
Windows UNKNOWN STEP    2026-11-17T04:00:39.5942026Z info - 2026-11-17 04:00:39,592 -- > D:\a\gmt\gmt\codecov.exe.SHA256SUM.sig

Generated with Claude Code (Opus 5.5)

The Windows build has no coverage instrumentation (ci/config-gmt.sh only
adds --coverage on Linux/macOS), so the uploader finds no gcov data and
instead reports the CLI's own codecov.exe.SHA256SUM.sig as a coverage
file (run 43998936857). macOS keeps uploading: it covers Apple-only code
such as the Accelerate FFT in gmt_fft.c.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Esteban82
Esteban82 requested a review from a team November 17, 2026 20:26
@Esteban82 Esteban82 added the maintenance Boring but important stuff for the core devs label Nov 17, 2026
@Esteban82
Esteban82 merged commit 42fad97 into master Nov 17, 2026
15 of 17 checks passed
@Esteban82
Esteban82 deleted the ci-codecov-skip-windows branch November 17, 2026 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants