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.
This commit is contained in:
Mothblocks
2023-12-30 00:44:29 +01:00
committed by GitHub
parent 5eb38c2d5b
commit ed06502fb6
3 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -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
Binary file not shown.

Before

Width:  |  Height:  |  Size: 789 B

After

Width:  |  Height:  |  Size: 786 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 789 B

After

Width:  |  Height:  |  Size: 786 B