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

Fix mod testing in CI #51843

Merged
merged 3 commits into from
Sep 27, 2021
Merged

Conversation

jbytheway
Copy link
Contributor

Summary

None

Purpose of change

The conversion of the tests to use GNU parallel broke the testing of JSON data for mods other than Magiclysm.

Describe the solution

Refactor the code to fix that.

I'm expecting to need to fix some errors in mods too, as a result of this, so opening as draft initially.

Describe alternatives you've considered

Living in blissful ignorance of mod issues.

Testing

Expecting to test here on CI.

Additional context

@Maleclypse Maleclypse added Code: Tests Measurement, self-control, statistics, balancing. Mods Issues related to mods or modding <Bugfix> This is a fix for a bug (or closes open issue) labels Sep 24, 2021
@jbytheway jbytheway force-pushed the restore_mod_checking_in_ci branch 2 times, most recently from 394bc38 to d8d7a97 Compare September 25, 2021 11:21
The conversion of the tests to use GNU parallel broke the testing of
JSON data for mods other than Magiclysm.

Refactor the code to fix that.
The fallback magazine selection code had a typo which meant that it was
unable to choose any magazine type except the first listed.  Fix it.
Also improve the error message.
@jbytheway jbytheway force-pushed the restore_mod_checking_in_ci branch from d8d7a97 to 2557acf Compare September 25, 2021 17:20
@jbytheway jbytheway marked this pull request as ready for review September 27, 2021 00:52
@jbytheway
Copy link
Contributor Author

CI is all green, so marking ready for review.

@I-am-Erk I-am-Erk merged commit 73f857a into CleverRaven:master Sep 27, 2021
@jbytheway jbytheway deleted the restore_mod_checking_in_ci branch September 27, 2021 20:41
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) Code: Tests Measurement, self-control, statistics, balancing. Mods Issues related to mods or modding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants