Skip to content

Codecov & Remove Paper dep from API#15

Merged
ez-plugins merged 2 commits into
dev/2.1.0from
fix/code-style-cleanup
Apr 19, 2026
Merged

Codecov & Remove Paper dep from API#15
ez-plugins merged 2 commits into
dev/2.1.0from
fix/code-style-cleanup

Conversation

@ez-plugins
Copy link
Copy Markdown
Owner

@ez-plugins ez-plugins commented Apr 19, 2026

Paper / MockBukkit removed from API

Removed the Paper dep from the API so it's standalone Java.

Added Codecov

We've added Codecov for keeping track of the test coverage of the project

- README.md: version 2.0.3 → 2.1.0 throughout; update developer API section
  to describe the paper-free API artifact, onSeasonReset callback, and
  the distinction between API JAR and plugin JAR for events
- docs/index.md: version 2.0.3 → 2.1.0; improve Developer API feature row
- docs/getting-started.md: update download filename to 2.1.0
- docs/api.md: already updated in the refactor commit
SeasonResetCallbackUnitTest (11 tests):
- singleIntegrationReceivesOnSeasonResetAfterTrigger
- allRegisteredIntegrationsReceiveOnSeasonReset
- unregisteredIntegrationNoLongerReceivesCallback
- noRegisteredIntegrationDoesNotThrowAndEventStillFires
- nullReasonNormalisedToUnspecifiedForCallback
- blankReasonPassedThroughWithoutNormalisationForCallback
- onSeasonResetReceivesTimestampsThatMatchTheBukkitEvent
- bukkitEventFiresBeforeIntegrationCallback
- nullPluginReferenceInSeasonManagerSkipsCallbackGracefully
- nullApiFromPluginSkipsCallbacksWithoutNpe
- defaultOnSeasonResetIsNoOp

Total: 97 -> 108 tests passing.

Codecov:
- .codecov.yml: coverage thresholds, comment layout, test/ ignore
- tests.yml: add codecov/codecov-action@v5 step after JaCoCo report in
  unit-test-coverage job; uploads plugin/target/site/jacoco/jacoco.xml
@codecov-commenter
Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@ez-plugins ez-plugins merged commit 0a09d3a into dev/2.1.0 Apr 19, 2026
7 checks passed
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.

2 participants