Skip to content

feat: add mock Stata runtime for CI tests#105

Merged
tobiasraabe merged 6 commits into
mainfrom
codex/mock-stata-runtime
Jun 5, 2026
Merged

feat: add mock Stata runtime for CI tests#105
tobiasraabe merged 6 commits into
mainfrom
codex/mock-stata-runtime

Conversation

@tobiasraabe

Copy link
Copy Markdown
Member

Summary

  • Add a dedicated tests/mock_stata.py runtime that supports the small Stata command subset used by the tests.
  • Switch Stata-dependent tests to use the mock only when CI is set; local runs now require a real Stata executable on PATH.
  • Emit an explicit warning showing the mock shim and module path when the mock runtime is active.
  • Update generated task snippets and README examples to the current pytask task/product syntax.

Validation

  • CI=1 uv run pytest -q passed with 59 passed, 2 skipped, 1 warning.
  • git diff --check passed with only line-ending warnings from Git on Windows.

Notes

ruff could not be run locally because the ruff executable is not installed in this environment.

@tobiasraabe tobiasraabe changed the title [codex] Add mock Stata runtime for CI tests feat: add mock Stata runtime for CI tests Jun 5, 2026
@tobiasraabe tobiasraabe marked this pull request as ready for review June 5, 2026 08:54
@tobiasraabe tobiasraabe added this pull request to the merge queue Jun 5, 2026
Merged via the queue into main with commit f89a3a0 Jun 5, 2026
37 of 38 checks passed
@tobiasraabe tobiasraabe deleted the codex/mock-stata-runtime branch June 5, 2026 09:48
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