ankidroid / ankidroid/Anki-Android

Automated way to check screenshots diffs from the GH workflow

未关闭
#21,073 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Dev
主要语言
Kotlin
星标
11.8k
派生
2.9k
平均合并
2 天 3 小时
30 天内合并 PR
167

描述

We now have an amazing GitHub workflow that runs our screenshot tests, upload them as artifacts, and notify when a PR has made visual changes ([example](https://github.com/ankidroid/Anki-Android/pull/21067#issuecomment-4470765465))

The issue is that the process is too manual:
1. download the artifact
2. extract it
3. go down the directory tree to find the "diff files"
4. open them

Any idea, that is safe for the repo, would be welcome

Mike suggested:

> I wonder...looks like gh allows "extensions", maybe a little extension that was like gh screenshots pr 10022 to snag the compare set (if it exists) do the unpack into $TMPDIR (or some secure temp location) and open the folder ?
> https://discord.com/channels/368267295601983490/701922522836369498/1505619761873031372

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。