mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-18 00:15:44 +00:00
The coverage shards failed six tests on every main push: - three UI glyph tests: the Sonar job had no craft-fonts. Pass the same fonts-ref as ci.yml. - three layout linear-time tests: llvm-cov instrumentation pushes the 8x time ratio past 24 (24.2-31.2). Ignore them under cfg(coverage), which cargo llvm-cov sets; the gate CI still runs them. Claude-Session: https://claude.ai/code/session_01FypgCXtSjB6e5jmy9Uq7u8 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
712 B
YAML
25 lines
712 B
YAML
name: SonarCloud
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: sonarcloud-${{ github.ref }}
|
|
# A push to main is the run that publishes coverage; superseded runs there would never finish.
|
|
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
|
|
|
|
jobs:
|
|
sonarcloud:
|
|
# Tracked at @main so org-wide CI improvements propagate without PR churn.
|
|
uses: storytold/craft-common-actions/.github/workflows/sonarcloud.yml@main
|
|
with:
|
|
# Same craft-fonts commit as ci.yml: the UI glyph tests need its CJK and Arabic fonts.
|
|
fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83
|
|
secrets: inherit
|