diff options
| author | Sho Sakuma <me@m1sk9.dev> | 2026-04-07 18:17:36 +0900 |
|---|---|---|
| committer | Sho Sakuma <me@m1sk9.dev> | 2026-04-07 18:17:36 +0900 |
| commit | 84e8677d470f216c060e3c3c615f9093bd755abe (patch) | |
| tree | faed409ee0ab246e4ecc6bcd3bff78a776747077 /codecov.yml | |
| parent | e634887202e97be0b2dd8b850cc1dc7ab164309c (diff) | |
| download | LunaticChat-84e8677d470f216c060e3c3c615f9093bd755abe.tar.gz LunaticChat-84e8677d470f216c060e3c3c615f9093bd755abe.tar.bz2 LunaticChat-84e8677d470f216c060e3c3c615f9093bd755abe.zip | |
ci: fix codecov/patch failure by excluding command impl and adding applyMethodPermission tests
Exclude command implementation classes (platform-paper/command/impl/**) from
codecov coverage metrics since they are tightly coupled to the Paper/Brigadier
runtime and exercised via end-to-end server tests. This consolidates the
previous per-file exclusion for VelocityStatusCommand.
Also add unit tests for the new applyMethodPermission method in LunaticCommand
to ensure the command/core package maintains coverage.
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'codecov.yml')
| -rw-r--r-- | codecov.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/codecov.yml b/codecov.yml index 453e954..d1c94cc 100644 --- a/codecov.yml +++ b/codecov.yml @@ -18,9 +18,9 @@ ignore: - "platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/listener/**" # BuildInfo loads build-time resources at class init and is verified via integration tests. - "platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/BuildInfo.kt" - # VelocityStatusCommand is tightly coupled to VelocityConnectionManager and has no unit-test - # infrastructure; it is exercised via end-to-end multi-server tests. - - "platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/command/impl/lcv/VelocityStatusCommand.kt" + # Command implementation classes are tightly coupled to the Paper/Brigadier runtime + # (CommandSourceStack, Commands, etc.) and are exercised via end-to-end server tests. + - "platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/command/impl/**" # VelocityConnectionManager is tightly coupled to the Paper/Bukkit runtime (Plugin, Player, # PluginMessageListener) and is exercised via end-to-end multi-server tests. - "platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/velocity/VelocityConnectionManager.kt" |
