Skip to content

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

Closed
ulbi wants to merge 1 commit into
mainfrom
optio/task-dc3cf6a7-da4c-4074-8259-ea73529de9d0
Closed

ulbi wants to merge 1 commit into
mainfrom
optio/task-dc3cf6a7-da4c-4074-8259-ea73529de9d0

Conversation

@ulbi

@ulbi ulbi commented Oct 29, 2026

Copy link
Copy Markdown
Owner

Implements task dc3cf6a7-da4c-4074-8259-ea73529de9d0

What changed

  • Added .github/workflows/ci.yml that runs the existing python tests (python3 test_sortinfolder.py) on push and pull_request to main.
  • The workflow uses a minimal ubuntu-latest runner with actions/setup-python and installs the project dependencies (Pillow, exifread, piexif) required by sortinfolder.py before running the tests.
  • Set workflow-level permissions: read-all.
  • Added .github/dependabot.yml to disable Dependabot version updates (open-pull-requests-limit: 0 for github-actions and pip).
  • No other files were modified.

How to test

  1. Verify the workflow runs on push/PR to main: .github/workflows/ci.yml.
  2. Locally, the tests still pass:
    python3 test_sortinfolder.py   # exit code 0
    python3 -m pytest test_sortinfolder.py -v  # 1 passed
    
  3. Confirm permissions: read-all is set and the Dependabot config is present in .github/dependabot.yml.

Adds .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 actions/setup-python. Configures
permissions to read-all and adds a .github/dependabot.yml that disables
Dependabot version updates.
@ulbi ulbi closed this Oct 31, 2026
@ulbi
ulbi deleted the optio/task-dc3cf6a7-da4c-4074-8259-ea73529de9d0 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