Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,17 @@ jobs:
- name: Run tests
run: |
uv run -p ${{ matrix.python-version }} pytest

test-entry-point:
runs-on: ubuntu-latest
name: Check the configured entry point
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Set up env
run: uv sync
- name: Install package
run: source .venv/bin/activate && uv pip install .
- name: Check entry point
run: source .venv/bin/activate && render-engine init --no-input
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repository = "https://github.com/render-engine/render-engine/"
documentation = "https://render-engine.readthedocs.io/en/latest/"

[project.scripts]
render-engine = "render_engine_cli:cli"
render-engine = "render_engine_cli.cli:app"

[tool.pytest.ini_options]
pythonpath = ["src"]
Expand All @@ -55,5 +55,3 @@ select = ["E", "F", "I", "UP"]
[build-system]
requires = ["setuptools", "setuptools_scm", "wheel"]
build-backend = "setuptools.build_meta"