From ed06502fb60ac9fe18db5f4bbda60c854c74d7b4 Mon Sep 17 00:00:00 2001 From: Mothblocks <35135081+Mothblocks@users.noreply.github.com> Date: Fri, 29 Dec 2023 15:44:29 -0800 Subject: [PATCH] Fix flaky wizard screenshot test failure, and try to make screenshot tests run more consistently (#80631) From https://github.com/tgstation/tgstation/pull/80542 Not exactly sure why this only fails once. My hint is that it happens when the alternate tests are skipped from this: ![image](https://github.com/tgstation/tgstation/assets/35135081/67c261c0-e771-4696-add2-f41bb800ad65) ...though this should still be *consistent* at least. --- .github/workflows/ci_suite.yml | 2 +- .../screenshot_antag_icons_wizard.png | Bin 789 -> 786 bytes .../screenshot_antag_icons_wizardmidround.png | Bin 789 -> 786 bytes 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_suite.yml b/.github/workflows/ci_suite.yml index 5ae8b68ec0c..f422da88164 100644 --- a/.github/workflows/ci_suite.yml +++ b/.github/workflows/ci_suite.yml @@ -215,7 +215,7 @@ jobs: - run: echo Alternate tests passed. compare_screenshots: - if: ( !contains(github.event.head_commit.message, '[ci skip]') && (success() || failure()) ) + if: ( !contains(github.event.head_commit.message, '[ci skip]') && (always() && (!failure() && !cancelled())) ) needs: [run_all_tests, run_alternate_tests] name: Compare Screenshot Tests runs-on: ubuntu-22.04 diff --git a/code/modules/unit_tests/screenshots/screenshot_antag_icons_wizard.png b/code/modules/unit_tests/screenshots/screenshot_antag_icons_wizard.png index 8681ec75728a6d3f5c8dc8bf80845288ef06750b..69a856722fd67c54f5ce288628fbe55d24032ae9 100644 GIT binary patch delta 621 zcmV-z0+Rie29gGlBwbWcOjJbx0009nZwyDB3qqACR+K@wFG!r;+0y29H zo>XX&gphx?4OX^ehir$PGGTcxm>P$D;dfGe+_`+ z5=x z{vtWxX26iMfwC;yLMSrSPA@HtU!_Qf11{QFXck@zvHR_R z1C)QcF@Y9<558?%cA#ic6ChRUjgFnUN8Y^yq5$&f07{^lNCyB50jjVGW)9E>z_UF< z3nA zytxCWhylL$-${Qz^b(aOB&2f%D9P*nAW|%%`-F7vVSpc=5w9lLX}00030;L#d`c!`OL z;jgCJo|0$e@38p(u&}VadvQ}V1T{E8>c6yqPX$(5V~nQGWqa(w77N z8vw^SltOn|y#u;FzcwamPuFkqBmlAIeF3n5u46c0C}U}o-7->Yka#W60catC6Z>>n z3)2{P2aM;ep!Isafl#bbJG-@8$pNeDF=vumeSdngFR%Z*&~Zec589^=!JJ`2hh$+}!Z8{i-<%zACBPVkcI*^nj9Si; z;?RD$xdXml4y*tG002ov KP6b4+LSTY}>J}XU diff --git a/code/modules/unit_tests/screenshots/screenshot_antag_icons_wizardmidround.png b/code/modules/unit_tests/screenshots/screenshot_antag_icons_wizardmidround.png index 8681ec75728a6d3f5c8dc8bf80845288ef06750b..69a856722fd67c54f5ce288628fbe55d24032ae9 100644 GIT binary patch delta 621 zcmV-z0+Rie29gGlBwbWcOjJbx0009nZwyDB3qqACR+K@wFG!r;+0y29H zo>XX&gphx?4OX^ehir$PGGTcxm>P$D;dfGe+_`+ z5=x z{vtWxX26iMfwC;yLMSrSPA@HtU!_Qf11{QFXck@zvHR_R z1C)QcF@Y9<558?%cA#ic6ChRUjgFnUN8Y^yq5$&f07{^lNCyB50jjVGW)9E>z_UF< z3nA zytxCWhylL$-${Qz^b(aOB&2f%D9P*nAW|%%`-F7vVSpc=5w9lLX}00030;L#d`c!`OL z;jgCJo|0$e@38p(u&}VadvQ}V1T{E8>c6yqPX$(5V~nQGWqa(w77N z8vw^SltOn|y#u;FzcwamPuFkqBmlAIeF3n5u46c0C}U}o-7->Yka#W60catC6Z>>n z3)2{P2aM;ep!Isafl#bbJG-@8$pNeDF=vumeSdngFR%Z*&~Zec589^=!JJ`2hh$+}!Z8{i-<%zACBPVkcI*^nj9Si; z;?RD$xdXml4y*tG002ov KP6b4+LSTY}>J}XU