Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/python-regressions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Python regressions

on:
pull_request:
branches: [master]
push:
branches: [master]

permissions:
contents: read

jobs:
python-regressions:
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- uses: actions/checkout@v7

# The tests/ suites ship with the apkdiff and release-workflow fixes.
# On branches without them (including master until those merge) this is
# a no-op so the job stays green; once merged, every PR runs them.
- name: Run local Python regressions
run: |
if [ -d tests ]; then
python3 -m unittest discover -s tests -v
else
echo "No tests/ directory on this branch; nothing to run yet."
fi
Loading