Skip to content

ci: build add-on packages in GitHub Actions - #4

Merged
bee-san merged 1 commit into
mainfrom
ci/build-addon-package
May 31, 2026
Merged

ci: build add-on packages in GitHub Actions#4
bee-san merged 1 commit into
mainfrom
ci/build-addon-package

Conversation

@bee-san

@bee-san bee-san commented May 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a CI workflow that runs unit tests on Python 3.10, 3.11, and 3.12.
  • Add CI packaging that builds and uploads anki_vn_sorter.ankiaddon as an artifact.
  • Add a tag/manual release workflow that builds, verifies, and publishes the .ankiaddon release asset plus SHA-256 file.
  • Update the README install section to direct users to GitHub Releases instead of local builds.

Test plan

  • actionlint .github/workflows/ci.yml .github/workflows/release.yml
  • Ruby YAML parse of both workflows
  • bash -n on all workflow run: blocks after GitHub expression substitution
  • python3.11 -m unittest discover -s tests
  • python3.11 -m compileall addon scripts tests
  • python3.11 scripts/package_addon.py
  • Local package inspection: required files present; no bytecode/user files included
  • HEAD request for releases/latest/download/anki_vn_sorter.ankiaddon resolves to the existing release asset

@sonarqubecloud

Copy link
Copy Markdown

@bee-san
bee-san merged commit 7b7a20e into main May 31, 2026
5 checks passed
@bee-san
bee-san deleted the ci/build-addon-package branch May 31, 2026 06:23
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