-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Run tests in CI for multiple sets of mods #83242
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
base: master
Are you sure you want to change the base?
Conversation
|
To me it looks like it's working, now the missing bit is either Maleclypse fixing those XE test errors, or turning the switch off and letting Maleclypse do that in a separate PR. Will happily wait on this for a while. |
|
Sorry for the extra commits but I didn't want to ask you to rebase this just for it to tell me what else is I need to fix now |
|
Is this an XE error or an RNG error? |
|
Good question. It's failing in
but the stack trace is from
Dunno if something uilist related has been merged recently that could cause this |
|
From some quick discussion on discord, it seems likely this is caused by some EOC triggering in the " Given: The player has all mutations for FAIR_FOLK_COMMONER_POOKA" test that calls run_eoc_selector, which displays a dialog using uilist. I guess we've never had anything in vanilla or magiclysm that does this during tests. I guess uilist needs to be updated to be test compatible somehow, but it's bit outside my wheelhouse since I've never looked into it. Edit: well, I just looked into it, I think in npctalk.cpp:6394 we need to check for test_mode, and if it's true we return a lambda that resolves to one of the list options, instead of returning the uilist lambda that's currently there. If no-one gets to it earlier I can try to kick that forward over the weekend at latest. |
89d7387 to
0b671ee
Compare
|
@Maleclypse I think there's a new set of XE errors for you 😅 |
This one isn't mine though right? |
|
I don't think so, but not 100% sure. |
|
Oh crap I missed you force pushed and reset the tests |
|
Looks like more density errors, not sure about the other stuff |
|
Accidentally re-ran the tests again q_q I need to run this set locally at some point so you can have the full list without messing around in CI |
|
Can be updated now |
|
@Maleclypse I ran the tests locally to hopefully get a more complete list, there's still a bunch of things failing with density checks xe_tests_38ea1.txt The c++ error in memorial_test is consistent as well so it needs to be tackled some way. I don't think it's a XE bug as such though, but something about how the test triggers the monster death (to check for memorial message) results in EOC_WEREWOLF_GET_MANA_ON_NETHER_KILLS not having a beta talker. Maybe the test setup can be improved to get rid of it. |
Summary
Build "Run tests in CI for multiple sets of mods"
Purpose of change
We might want to run tests against not just magiclysm but also against XE, MoM etc, but so that they're run on their own instead of all together. This enables that.
Describe the solution
Update gha_tests_only.sh to handle MODS env variable contents so that:
MODS=a,b,c: run as previously, so thata,bandcare loadedMODS=a,b|c: run once withaandbloaded, and once withcloadedUpdate matrix.yml so that there's no unnecessary "--mods=" passed along, we can add that at the actual use site
Describe alternatives you've considered
Testing
Additional context
Maleclypse wanted this for XE