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

Don't assign missions during testing #78614

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

RenechCDDA
Copy link
Member

@RenechCDDA RenechCDDA commented Dec 17, 2024

Summary

None

Purpose of change

https://github.com/CleverRaven/Cataclysm-DDA/actions/runs/12359934654/job/34493740159?pr=78524#step:19:105

"completed mission MISSION_CAMP_LEADERSHIP_CHANGE was not in the active_missions list"

This has persisted and caused numerous failures despite repeated attempts to resolve it.

Describe the solution

Just stop it from running during the tests. We're not testing it, so we don't need it to run.

This is accomplished by overriding the EOCs that call it in the TEST_DATA mod, which is always loaded.

Describe alternatives you've considered

Maybe we could configure the EOC/event infrastructure to not listen during testing, but this seems much simpler.

Testing

Additional context

@github-actions github-actions bot added [JSON] Changes (can be) made in JSON Missions Quests and missions Code: Tests Measurement, self-control, statistics, balancing. astyled astyled PR, label is assigned by github actions labels Dec 17, 2024
@github-actions github-actions bot added json-styled JSON lint passed, label assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Dec 17, 2024
@Maleclypse Maleclypse merged commit 1be27d7 into CleverRaven:master Dec 17, 2024
21 of 23 checks passed
@RenechCDDA RenechCDDA deleted the kill_test_error branch December 17, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions Code: Tests Measurement, self-control, statistics, balancing. [JSON] Changes (can be) made in JSON json-styled JSON lint passed, label assigned by github actions Missions Quests and missions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants