teamkun/Scenamatica Scenario Test
Test your PaperMC Plugin with declared scenario.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| java | Target Java version. | yes | 11 |
| minecraft | Target Minecraft version. | yes | 1.16.5 |
| server-dir | Server directory. | yes | server |
| java-arguments | Extra Java arguments for the server. | — | — |
| plugin | The path to your plugin jar file. | yes | — |
| scenamatica | Target Scenamatica version. | yes | — |
| fail-threshold | The number of failed tests that will cause the action to fail. Negative values will cause the action to always pass. | yes | 0 |
| github-token | GitHub token for writing pull request comments. | — | ${{ github.token }} |
| graphical-summary | Whether to generate a summary of the test results in the form of a graph. | yes | true |
| upload-xml-report | Whether to upload the test results in the form of an XML report. | yes | true |
| report-artifact-name | The name of the artifact that will be uploaded. | yes | scenamatica-reports |
| pull-request | Whether to use the pull request mode for the test. The bot will comment on the pull request with the test results if this is true. | yes | true |
| detailed-report-in-pr-comment | Whether to use the detailed report in the pull request comment. | yes | true |
Outputs
| name | description |
|---|---|
| success | A boolean value indicating whether the runner successfully processed the tests. |
| runner-error-type | The error type (like java exception) reported by the runner. |
| runner-error-message | The error message reported by the runner. |
| tests | The number of tests that were run. |
| test-passes | The number of tests that passed. |
| test-failures | The number of tests that failed. |
| test-skips | The number of tests that were skipped. |
| test-cancels | The number of tests that were cancelled. |