Add CI pipeline for unit tests#3
Merged
Merged
Conversation
added 4 commits
April 13, 2026 19:21
Adds GitHub Actions CI workflow that runs unit tests across Python 3.10/3.11/3.12 on push and PR to main. Also adds missing python-dotenv dev dependency used by the test suite. Closes #70
This is an internal tool — no need to test across multiple versions.
- Adds GitHub Actions release workflow triggered by version tags (v*.*.*) - Switches version management to setuptools-scm (version derived from git tag) - Adds CI-CD.md documenting how CI and the release process work - Adds INSTALL.md with end-user installation instructions Closes #70
Wires GitHub secrets as env vars so tests that depend on CE_TEST_* values can run in CI.
rohit-joy
reviewed
Apr 15, 2026
added 2 commits
April 15, 2026 08:20
- Version format: YYYY.MM.DD.<run_number> (e.g. 2026.04.15.42) - Both CI and Release pipelines now generate the version dynamically and pass it to the build via SETUPTOOLS_SCM_PRETEND_VERSION - Release now triggered via workflow_dispatch instead of git tags - CI now includes a build step to verify the package builds on every run - Updates CI-CD.md to reflect the new release process
- Read __version__ via importlib.metadata at runtime so ce --version and ce version reflect the build-injected version - Release pipeline now auto-triggers on push to main (pre-release) and supports manual workflow_dispatch for stable promotion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/ci.yml) that runs unit tests on push and PR tomainfail-fast: falsepython-dotenvdev dependency used bytests/conftest.pyCloses CredentialEngine/ce-registry#70