summaryrefslogtreecommitdiff
path: root/codecov.yml
blob: d1c94cc74bacb0fc8c2407b0ca28ac539676fa79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
coverage:
  status:
    project:
      default:
        target: auto
        threshold: 1%
    patch:
      default:
        target: 80%
comment:
  layout: "condensed_header, condensed_files, condensed_footer"
  behavior: default
  require_changes: false
ignore:
  - "dokka/**"
  # Listener classes are tightly coupled to the Paper/Minecraft runtime and exercised via
  # end-to-end/server tests, so we exclude them from unit-test coverage metrics.
  - "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"
  # 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"
  # The Velocity platform has no unit-test infrastructure; it is exercised via end-to-end
  # multi-server tests (docker compose).
  - "platform-velocity/src/main/kotlin/**"