Skip to content

Commit 383b383

Browse files
committed
update src location
1 parent baa1a6e commit 383b383

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/test-app.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ jobs:
2727
uses: snok/install-poetry@v1
2828
with:
2929
version: 1.5.1
30+
- name: Set PYTHONPATH
31+
run: echo "PYTHONPATH=src" >> $GITHUB_ENV
3032
- name: Run tests
3133
run: |
3234
poetry install --no-interaction --no-root
3335
poetry run black --check .
34-
poetry run pytest
36+
poetry run pytest tests/

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ description = ""
55
authors = ["James Williams <james.williams@packetgeek.net>"]
66
license = "Apache 2.0"
77
readme = "README.md"
8+
packages = [{include = "hier_config_cli.py", from = "src"}]
89

910
[tool.poetry.dependencies]
1011
python = "^3.9"
1112
hier-config = "^3.1.0"
1213
click = "^8.1.7"
1314
pyyaml = "^6.0.2"
1415

15-
1616
[tool.poetry.group.dev.dependencies]
1717
black = "^24.10.0"
1818
pytest = "^8.3.4"

0 commit comments

Comments
 (0)