Repository navigation
Add Python package scaffolding and CI tooling - #1
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - name: Run tests | ||
| run: | | ||
| hatch run pytest |
There was a problem hiding this comment.
Avoid unconditional pytest run with no test suite
The workflow always executes hatch run pytest, but this repository currently has no Python test files (find . -name "test_*.py" -o -name "*_test.py" returns nothing). Pytest exits with status code 5 when zero tests are collected, so the new CI job will fail on every push even though there is nothing to run. Consider guarding the step or using an option such as pytest --maxfail=0 --disable-warnings --allow-empty until tests exist so the pipeline can pass.
Useful? React with 👍 / 👎.
Summary
pyproject.tomlfor the newmacrobase-pypackage with core dependencies and dev tooling configurationmacrobase_pypackage layout and update repository documentation and ignores for Python developmentTesting
https://chatgpt.com/codex/tasks/task_e_68fade0a3a008320af470514fbf23927