Skip to content

Codacy: coverage and configuration; all-platforms release bundle - #150

Merged
Two-Play merged 4 commits into
developfrom
claude/laughing-goodall-myi1bq
Nov 27, 2026
Merged

Two-Play merged 4 commits into
developfrom
claude/laughing-goodall-myi1bq

Conversation

@Two-Play

@Two-Play Two-Play commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

What does this change?

Codacy

  • .codacy.yaml: generated files (THIRD_PARTY_LICENSES.md, the licence JSON) and name lists are not analysed. Rust lints stay in CI (clippy, rustfmt) as the blocking check; Codacy adds the overview, duplication, complexity, the other languages and coverage.
  • New CI job coverage (Linux): runs the tests with cargo-llvm-cov 0.9.2 and uploads lcov.info with codacy/codacy-coverage-reporter-action v1.3.0, pinned to the tag's commit. The CODACY_PROJECT_TOKEN secret reaches only the upload step, not the tests or the build scripts of dependencies. Without the secret (pull requests from forks) it measures but skips the upload.
  • Codacy grade badge in the README.

Release bundle for every system

  • openrage-<tag>-linux-windows.zip becomes openrage-<tag>-all-platforms.zip with linux/, windows/ and, when the release has a macOS build, macos/. Without one, macos/ and its part of the bundle README are left out.
  • packaging/BUNDLE-README.txt describes all three.

macOS in the website texts

  • "Linux and Windows" becomes "Linux, Windows and macOS" (macOS marked as preview where it matters): landing page, GTA VI page, plugins page, site description, development page.

How was it tested?

  • cargo llvm-cov --workspace --locked --lcov locally with the same system packages as CI: 399 tests passed, 0 failed; line coverage 46.8 % (29,169 / 62,335). In CI the upload works: Codacy reports 48.01 % for the head commit.
  • The bundle step was run locally on dummy release archives, with and without a macOS archive: the right folders, the README with and without its macOS part, executables kept.
  • The website builds with Zola 0.23.6; zola check and check_site.py pass (14 pages, 1698 links). Workflows and .codacy.yaml parse as YAML.

Checklist

  • The pull request targets develop.
  • Every commit is signed off.
  • Code from other projects has a compatible licence (no new code; the Codacy action and cargo-llvm-cov are CI tools only).
  • cargo test passes locally (via cargo llvm-cov); no Rust code changed.
  • No game files, executables, encryption keys or extracted game assets are included.
  • Large generated files are left out. (One commit added Python packages by mistake and the next removes them: please squash and merge, so they never reach develop.)
  • Documentation in site/ is updated.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VU4S7xHNWxnMyskL7xa616

Two-Play and others added 2 commits November 27, 2026 09:26
…le; macOS in website texts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VU4S7xHNWxnMyskL7xa616
Signed-off-by: Philippe <twoplay19@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VU4S7xHNWxnMyskL7xa616
Signed-off-by: Philippe <twoplay19@gmail.com>
@codacy-production

codacy-production Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Coverage ∅ diff coverage

Metric Results
Coverage variation Report missing for 05d3f621
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (05d3f62) Report Missing Report Missing Report Missing
Head commit (3d48386) 56771 27254 48.01%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#150) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

1 Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Two-Play and others added 2 commits November 27, 2026 09:57
…pload action

The token was set for the whole job, so the tests and the build scripts
of every dependency could read it. Now only the upload step gets it, and
the third-party action is pinned to the commit of its v1.3.0 tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VU4S7xHNWxnMyskL7xa616
Signed-off-by: Philippe <twoplay19@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VU4S7xHNWxnMyskL7xa616
Signed-off-by: Philippe <twoplay19@gmail.com>
@Two-Play
Two-Play merged commit 2c0aaf6 into develop Nov 27, 2026
10 checks passed
@Two-Play
Two-Play deleted the claude/laughing-goodall-myi1bq branch November 27, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant