diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7d9828..81e3b49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: with: python-version: "3.13" - run: pipx install poetry==2.0.1 - - run: poetry sync --group dev + - run: poetry sync - run: poetry run pre-commit run --all-files test: @@ -29,7 +29,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - run: pipx install poetry==2.0.1 - - run: poetry sync --group dev + - run: poetry sync - run: poetry run pytest --cov=altissimo --cov-report=term-missing --cov-fail-under=80 build: diff --git a/tests/test_placeholder.py b/tests/test_placeholder.py index ecaf119..a5cff9a 100644 --- a/tests/test_placeholder.py +++ b/tests/test_placeholder.py @@ -1,5 +1,8 @@ -"""Placeholder tests.""" +"""Placeholder tests until the client has real ones.""" -def test_placeholder() -> None: - """A placeholder test so pytest does not fail.""" - assert True +import altissimo.fastapi_utils + + +def test_package_imports() -> None: + """The package imports, which gives coverage something to measure.""" + assert altissimo.fastapi_utils.__all__ == []