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

Exclude dda in unit test mod list to fix CI build errors #36259

Merged
merged 2 commits into from
Dec 19, 2019

Conversation

Qrox
Copy link
Contributor

@Qrox Qrox commented Dec 19, 2019

Summary

SUMMARY: None

Purpose of change

get_all_mods.py does not exclude the dda core content "mod", which causes dda to be loaded after other mods, which may be the cause the CI build is failing with invalid ids.

Furthermore, the regional overlay of the Magiclysm mod makes the total field coverage exceeds 100, which is also fixed in this PR.

Describe the solution

Exclude "dda" from the list of mods in the unit test argument, and adjusted the field coverage values to reduce the total to 100. The error message for field coverage is also improved to show the individual values and the total value for easier debugging.

Testing

Waiting for the CI build to finish to see if it works.

@ZhilkinSerg
Copy link
Contributor

Looks good for me.

@ZhilkinSerg ZhilkinSerg added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` [JSON] Changes (can be) made in JSON Code: Tests Measurement, self-control, statistics, balancing. Mods Issues related to mods or modding [Python] Code made in Python labels Dec 19, 2019
@Qrox Qrox marked this pull request as ready for review December 19, 2019 12:26
@ZhilkinSerg ZhilkinSerg merged commit 86e5cc1 into CleverRaven:master Dec 19, 2019
@Qrox Qrox deleted the exclude-dda branch December 20, 2019 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Code: Tests Measurement, self-control, statistics, balancing. [JSON] Changes (can be) made in JSON Mods Issues related to mods or modding [Python] Code made in Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants