mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-05 23:21:53 +00:00
Separate station/unit tests and disable lavaland procgen and ruin spawning in tests (for now). (#28106)
* Separate station/unit tests and disable lavaland. * add CI/local test conflict check back
This commit is contained in:
committed by
GitHub
parent
5237a148cc
commit
8e4dc6165b
@@ -21,16 +21,6 @@
|
||||
var/async_thread_limit = 50
|
||||
|
||||
/datum/configuration_section/database_configuration/load_data(list/data)
|
||||
// UNIT TESTS ARE DEFINED - USE CUSTOM CI VALUES
|
||||
#ifdef GAME_TESTS
|
||||
|
||||
enabled = TRUE
|
||||
// This needs to happen in the CI environment to ensure the example SQL version gets updated.
|
||||
CONFIG_LOAD_NUM(version, data["sql_version"])
|
||||
|
||||
#else
|
||||
// Load the normal config. Were not in CI mode
|
||||
// Use the load wrappers here. That way the default isnt made 'null' if you comment out the config line
|
||||
CONFIG_LOAD_BOOL(enabled, data["sql_enabled"])
|
||||
CONFIG_LOAD_NUM(version, data["sql_version"])
|
||||
CONFIG_LOAD_STR(address, data["sql_address"])
|
||||
@@ -40,4 +30,3 @@
|
||||
CONFIG_LOAD_STR(db, data["sql_database"])
|
||||
CONFIG_LOAD_NUM(async_query_timeout, data["async_query_timeout"])
|
||||
CONFIG_LOAD_NUM(async_thread_limit, data["async_thread_limit"])
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user