Skip to content

Commit 4571142

Browse files
committed
Fix incorrect entry point. Add check of entry point to workflows. (#5)
* Fix incorrect entry point. Add check of entry point to workflows. * Fix workflow. * Fix workflow part 2.
1 parent 4e9d856 commit 4571142

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,17 @@ jobs:
3232
- name: Run tests
3333
run: |
3434
uv run -p ${{ matrix.python-version }} pytest
35+
36+
test-entry-point:
37+
runs-on: ubuntu-latest
38+
name: Check the configured entry point
39+
steps:
40+
- uses: actions/checkout@v4
41+
- name: Install uv
42+
uses: astral-sh/setup-uv@v5
43+
- name: Set up env
44+
run: uv sync
45+
- name: Install package
46+
run: source .venv/bin/activate && uv pip install .
47+
- name: Check entry point
48+
run: source .venv/bin/activate && render-engine init --no-input

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ repository = "https://github.com/render-engine/render-engine/"
3434
documentation = "https://render-engine.readthedocs.io/en/latest/"
3535

3636
[project.scripts]
37-
render-engine = "render_engine_cli:cli"
37+
render-engine = "render_engine_cli.cli:app"
3838

3939
[tool.pytest.ini_options]
4040
pythonpath = ["src"]

0 commit comments

Comments
 (0)