Skip to content

AK1 claude-code: add a reusable CI workflow for python tests - #13

Closed
ulbi wants to merge 1 commit into
mainfrom
optio/task-c12a737f-6f21-4f88-8ad8-f4a694d10560
Closed

ulbi wants to merge 1 commit into
mainfrom
optio/task-c12a737f-6f21-4f88-8ad8-f4a694d10560

Conversation

@ulbi

@ulbi ulbi commented Oct 27, 2026

Copy link
Copy Markdown
Owner

Implements task c12a737f-6f21-4f88-8ad8-f4a694d10560

What changed

  • Added .github/workflows/ci.yml, the only file changed.
  • Runs python3 test_sortinfolder.py on push and pull_request to main.
  • Uses a minimal ubuntu-latest runner with actions/setup-python (Python 3.x).
  • Installs the runtime dependencies (Pillow, exifread, piexif) that sortinfolder.py imports at module level, matching the existing .ci/test.Dockerfile.
  • Sets workflow-level permissions: read-all.
  • Dependabot version updates remain disabled: GitHub only activates them when .github/dependabot.yml exists, and none was added (the task required not touching any other files).

How to test

  1. Run the tests locally: install deps (pip install Pillow exifread piexif) and python3 test_sortinfolder.py — passes.
  2. Open a PR (this PR) or push to main and check the CI workflow on GitHub Actions: the test job checks out, sets up Python, installs deps, and runs python3 test_sortinfolder.py.

Add .github/workflows/ci.yml that runs python3 test_sortinfolder.py
on push and pull_request to main. Uses a minimal ubuntu runner with
setup-python, grants read-all permissions, and installs the runtime
deps (Pillow, exifread, piexif) required by sortinfolder.py. No
Dependabot config is added, so Dependabot version updates stay disabled.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@ulbi ulbi closed this Oct 31, 2026
@ulbi
ulbi deleted the optio/task-c12a737f-6f21-4f88-8ad8-f4a694d10560 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