See PR at https://github.com/kolmafia/kolmafia/pull/191
and test results at https://github.com/kolmafia/kolmafia/runs/4156747723?check_suite_focus=true
A portion of the test failure message is
What I think is going on is that a test is failing on Ubuntu on GitHub but not locally on Windows 10. My hypothesis is the failure is due to a whitespace type of issue between Ubuntu and Windows. EOL comes to mind but I can't really confirm what the file GitHub/Ubuntu really is using for EOL.
I am running out of ideas.
Is it possible for me to run any of the OS checks separately or have the other ones run anyway if one fails?
Are there any ideas besides trying to make the comparison in CustomScriptTest ignore whitespace?
Anyone on a Linux box willing to grab the PR and help debug the test or point a finger at the GitHub environment?
and test results at https://github.com/kolmafia/kolmafia/runs/4156747723?check_suite_focus=true
A portion of the test failure message is
Code:
org.opentest4j.AssertionFailedError: show_skills.txt output does not match: ==> expected: <
Torso Awareness (0 mp)
Summon Holiday Fun! (11 mp)
Communism! (0 mp)
Torso Awareness (0 mp)
> but was: <Torso Awareness (0 mp)
Summon Holiday Fun! (11 mp)
Communism! (0 mp)
Torso Awareness (0 mp)
>
at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1152)
at app//net.sourceforge.kolmafia.CustomScriptTest.testScript(CustomScriptTest.java:59)
What I think is going on is that a test is failing on Ubuntu on GitHub but not locally on Windows 10. My hypothesis is the failure is due to a whitespace type of issue between Ubuntu and Windows. EOL comes to mind but I can't really confirm what the file GitHub/Ubuntu really is using for EOL.
I am running out of ideas.
Is it possible for me to run any of the OS checks separately or have the other ones run anyway if one fails?
Are there any ideas besides trying to make the comparison in CustomScriptTest ignore whitespace?
Anyone on a Linux box willing to grab the PR and help debug the test or point a finger at the GitHub environment?