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
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
python-version: "3.13"
- name: Install dependencies
run: pip install hatch
- name: Run unit and integrations tests
run: hatch run dev:pytest --cov=reqstool-python-decorators --cov-report=xml --cov-report=html
- name: Run tests
run: hatch run dev:pytest --junitxml=build/junit.xml --cov=reqstool_python_decorators --cov-report=xml:build/coverage.xml
- name: Build project
run: hatch build
# Upload artifacts for later use
Expand Down
13 changes: 11 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,18 @@ requires = ["hatchling", "hatch-vcs", "build", "twine"]
build-backend = "hatchling.build"

[tool.pytest.ini_options]
addopts = ["-s", "--import-mode=importlib"]
addopts = [
"-rsxX",
"-s",
"--import-mode=importlib",
"--log-cli-level=DEBUG",
]
pythonpath = [".", "src", "tests"]
testpaths = ["tests/unit"]
testpaths = ["tests"]
markers = [
"integration: tests that require external resources",
"e2e: end-to-end tests that run the full pipeline locally",
]

[project]
name = "reqstool-python-decorators"
Expand Down
Empty file added tests/e2e/__init__.py
Empty file.
Empty file.
Empty file added tests/integration/__init__.py
Empty file.
Empty file.