Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate station/unit tests and disable lavaland procgen and ruin spawning in tests (for now). #28106

Merged

Conversation

warriorstar-orion
Copy link
Contributor

What Does This PR Do

This PR changes our CI by separating game tests (which test in-game logic or load their own test map data) and station tests (which each run a set of tests on a given station map). It creates a compile-flag define that allows builds to specify override TOML configs to surgically replace config values for test runs, and uses it to disable lavaland and space/lava ruins for all tests. Lava and space ruins will continue to be tested with the "Compile All Maps" test, but until I can think of a good methodical way to test their placement, they will not be placed during any part of the test suite.

It also tightens up the CI workflow labels so that this:

2025_01_25__19_20_56__Adds Tend Wounds_Tend Burns surgeries · ParadiseSS13_Paradise@f761e30

Becomes the more readable this:

2025_01_25__19_21_16__do i know what i'm doing_ · warriorstar-orion_Paradise@412dd97

Why It's Good For The Game

Flakiness due to procgen and ruin placement in tests is awful. We already do things like fix the RNG seed during tests, preventing completely arbitrary content from randomly spawning across z-levels seems like a reasonable step.

Testing

See CI.


Declaration

  • I confirm that I either do not require pre-approval for this PR, or I have obtained such approval and have included a screenshot to demonstrate this below.

Changelog

NPFC

@ParadiseSS13-Bot ParadiseSS13-Bot added -Status: Awaiting type assignment This PR is waiting for its type to be assigned internally Configuration Change This PR changes the game configuration files. Please run via the host. -Status: Awaiting review This PR is awaiting review from the review team and removed -Status: Awaiting type assignment This PR is waiting for its type to be assigned internally labels Jan 26, 2025
Copy link
Member

@AffectedArc07 AffectedArc07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screw it

@AffectedArc07 AffectedArc07 added this pull request to the merge queue Feb 8, 2025
Merged via the queue into ParadiseSS13:master with commit 8e4dc61 Feb 8, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-Status: Awaiting review This PR is awaiting review from the review team Configuration Change This PR changes the game configuration files. Please run via the host.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants