mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-24 04:39:06 -05:00
feat: check the profiles a branch adds or edits
profile_sync gains --changed (added or edited profiles, uncommitted ones included) and --added, both against the merge base of --base (origin/main by default). CONTRIBUTING runs --changed --strict instead of one --emulator call per new profile, and the CI job runs --added in place of its own diff loop.
This commit is contained in:
1 parent
1b3763e58f
commit
57ac252482
8 files changed
+141
-17
No files matched your search
@@ -186,14 +186,7 @@ jobs:
|
||||
else
|
||||
base=$BEFORE
|
||||
fi
|
||||
status=0
|
||||
for file in $(git diff --name-only --diff-filter=A "$base" HEAD -- 'emulators/*.yml'); do
|
||||
name=$(basename "$file" .yml)
|
||||
echo "::group::$name"
|
||||
python scripts/profile_sync.py --emulator "$name" --strict || status=1
|
||||
echo "::endgroup::"
|
||||
done
|
||||
exit $status
|
||||
python scripts/profile_sync.py --added --base "$base" --strict
|
||||
|
||||
run-tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in new issue
Block a user