Skip to content

Add local testing instructions and GitHub Actions CI to run pytest#40

Merged
WhatsYourWhy merged 1 commit into
mainfrom
codex/set-up-testing-plan-and-ci-automation
Jan 24, 2026
Merged

Add local testing instructions and GitHub Actions CI to run pytest#40
WhatsYourWhy merged 1 commit into
mainfrom
codex/set-up-testing-plan-and-ci-automation

Conversation

@WhatsYourWhy

Copy link
Copy Markdown
Owner

Motivation

  • Make it explicit how to run the test suite locally and ensure tests can import the determinant package (editable install or PYTHONPATH fallback).
  • Add automated CI to run the same install+test steps on pushes and pull requests to catch import and test regressions early.

Description

  • Add a ## Testing section to README.md documenting python -m pip install -e . plus python -m pytest -q and an alternative PYTHONPATH=. python -m pytest -q invocation.
  • Add a GitHub Actions workflow at .github/workflows/ci.yml that runs on push and pull_request, sets up Python 3.11, installs the package in editable mode and pytest, and runs python -m pytest -q.

Testing

  • No automated tests were executed locally as part of this change; the edits are documentation and CI configuration only.
  • The added CI workflow will run python -m pip install -e . pytest and then python -m pytest -q on GitHub Actions (Ubuntu, Python 3.11) for each push and pull request.

Codex Task

@WhatsYourWhy WhatsYourWhy merged commit 68844b6 into main Jan 24, 2026
0 of 2 checks passed
@WhatsYourWhy WhatsYourWhy deleted the codex/set-up-testing-plan-and-ci-automation branch January 28, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant