Skip to content

Implemented packaging, pytest, and Node.js 24-compatible GitHub Actions CI.#2

Open
blankenberg wants to merge 1 commit into
BlankenbergLab:mainfrom
blankenberg:ci
Open

Implemented packaging, pytest, and Node.js 24-compatible GitHub Actions CI.#2
blankenberg wants to merge 1 commit into
BlankenbergLab:mainfrom
blankenberg:ci

Conversation

@blankenberg

Copy link
Copy Markdown
Contributor

What changed:

  • Converted the flat modules into a src/ package under src/tool_generator_anvio.
  • Added package metadata and console entry point in pyproject.toml:1 and legacy setuptools metadata in setup.py:1.
  • Kept tool-generator-anvio.py:1 as a compatibility wrapper for direct script usage.
  • Moved the anvio import inside main() in src/tool_generator_anvio/generator.py:374 so the package and tests can import without a full anvio environment.
  • Added pytest coverage in tests/test_package.py:1 and tests/test_parameters.py:1.
  • Added GitHub Actions CI in .github/workflows/ci.yml:1 using actions/checkout@v6, actions/setup-python@v6, Python 3.9-3.13, and FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true".
  • Updated README.md:54 with install, run, and test instructions.
  • Added .gitignore:1 and added pytest to requirements-dev.txt:1.

…ns CI.

  What changed:

  - Converted the flat modules into a src/ package under src/tool_generator_anvio.
  - Added package metadata and console entry point in pyproject.toml:1 and legacy setuptools metadata in setup.py:1.
  - Kept tool-generator-anvio.py:1 as a compatibility wrapper for direct script usage.
  - Moved the anvio import inside main() in src/tool_generator_anvio/generator.py:374 so the package and tests can import without a full anvio environment.
  - Added pytest coverage in tests/test_package.py:1 and tests/test_parameters.py:1.
  - Added GitHub Actions CI in .github/workflows/ci.yml:1 using actions/checkout@v6, actions/setup-python@v6, Python 3.9-3.13, and FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true".
  - Updated README.md:54 with install, run, and test instructions.
  - Added .gitignore:1 and added pytest to requirements-dev.txt:1.
@blankenberg blankenberg requested a review from cumbof April 13, 2026 19:29
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