Skip to content

AK3 opencode: add a reusable CI workflow for python tests - #36

Closed
ulbi wants to merge 1 commit into
mainfrom
optio/task-a26a3216-71c4-4509-b33b-3223f4836bb1
Closed

ulbi wants to merge 1 commit into
mainfrom
optio/task-a26a3216-71c4-4509-b33b-3223f4836bb1

Conversation

@ulbi

@ulbi ulbi commented Oct 29, 2026

Copy link
Copy Markdown
Owner

Implements task a26a3216-71c4-4509-b33b-3223f4836bb1

What changed

  • Added .github/workflows/ci.yml — a reusable GitHub Actions workflow that:
    • Triggers on push and pull_request to main
    • Runs on the minimal ubuntu-latest runner
    • Sets up Python via actions/setup-python
    • Installs the runtime dependencies required to import sortinfolder.py (Pillow, exifread, piexif)
    • Runs the existing tests with python3 test_sortinfolder.py
    • Uses workflow-level permissions: read-all
  • Added .github/dependabot.yml with an empty updates list to disable Dependabot.
  • No other files were modified.

How to test

  1. Run the tests locally: python3 test_sortinfolder.py (verified passing).
  2. Open a PR or push to main — the CI workflow will run python3 test_sortinfolder.py on an ubuntu runner and should pass.

Assumptions

  • "Disable Dependabot" is implemented by adding .github/dependabot.yml with updates: [], which is the file-based way to disable dependency updates-GitHub's auto-updates require a config to be enabled.
  • Pillow, exifread, and piexif are installed in CI because sortinfolder.py imports them at module load (mirrors .ci/test.Dockerfile).

Add .github/workflows/ci.yml that runs the existing python tests
(python3 test_sortinfolder.py) on push and pull_request to main using a
minimal ubuntu runner with python setup and read-all permissions. Also
add .github/dependabot.yml to disable Dependabot updates.
@ulbi ulbi closed this Oct 31, 2026
@ulbi
ulbi deleted the optio/task-a26a3216-71c4-4509-b33b-3223f4836bb1 branch October 31, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant