ankidroid / ankidroid/Anki-Android

Automated way to check screenshots diffs from the GH workflow

Ouverte
#21,073 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Dev
Langage dominant
Kotlin
Étoiles
11.8k
Forks
2.9k
Merge moyen
2 j 1 h
PR mergées (30 j)
168

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.