Skip to content

ci: extract reusable test workflow for PR and publish (#17) - #52

Merged
rosspeili merged 1 commit into
ARPAHLS:mainfrom
rosspeili:feat/issue-17-reusable-ci
Aug 25, 2026
Merged

ci: extract reusable test workflow for PR and publish (#17)#52
rosspeili merged 1 commit into
ARPAHLS:mainfrom
rosspeili:feat/issue-17-reusable-ci

Conversation

@rosspeili

Copy link
Copy Markdown
Contributor

Summary

Extracts a single reusable CI workflow (.github/workflows/reusable-test.yml) for black, flake8, and pytest so PR CI and PyPI publish stay in sync.

  • ci.yml — Python 3.10–3.13 matrix + skillware-live call the reusable workflow; lint-test gate unchanged
  • publish-pypi.yml — release test job uses the same reusable gate on Python 3.12
  • Publish drift fix — align flake8 scope (integrations, examples) and pytest --ignore=tests/integration with PR CI
  • Docs — TESTING, CONTRIBUTING, PUBLISHING updated to point at the reusable workflow

Fixes #17

Type

  • Packaging / CI
  • Documentation

Checklist

  • Linked issue (Fixes #17)
  • pytest --ignore=tests/integration passes (78 tests)
  • black aura tests integrations examples — no diff
  • flake8 aura tests integrations examples — clean
  • CHANGELOG.md updated under [Unreleased]

Test plan

  • Local gate: pytest --ignore=tests/integration, black, flake8 (matches reusable workflow commands)
  • CI: lint-test matrix + skillware-live green on PR
  • Verify publish-pypi test job invokes reusable-test.yml on 3.12 (post-merge release path)

Single source in reusable-test.yml for black, flake8, and pytest. PR CI matrix and skillware-live call it; publish-pypi uses the same gate on Python 3.12. Fixes publish drift (flake8 scope and --ignore=tests/integration). Docs updated in TESTING, CONTRIBUTING, and PUBLISHING.
@rosspeili
rosspeili merged commit 23a9048 into ARPAHLS:main Aug 25, 2026
6 checks passed
@rosspeili
rosspeili deleted the feat/issue-17-reusable-ci branch August 25, 2026 06:54
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.

[Enhancement]: DRY CI — reusable test workflow shared by PR CI and publish

1 participant