Skip to content

Commit 6b583b1

Browse files
committed
Update pytest
1 parent 9d1c04b commit 6b583b1

3 files changed

Lines changed: 139 additions & 147 deletions

File tree

.github/workflows/pull_request.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
docker-tag: ${{ steps.docker-tag.outputs.docker-tag }}
1818
env:
1919
PYTHON_APP_ENVIRONMENT: development
20+
CI: true # Enable pytest CI mode
2021
steps:
2122
- name: Checkout repository
2223
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

pyproject.toml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ version = "0.1.0"
44
requires-python = ">=3.14"
55
dependencies = [
66
"aiohttp>=3.13.2",
7-
"azure-cosmos>=4.14.1",
8-
"azure-monitor-opentelemetry>=1.8.1",
9-
"fastapi[standard-no-fastapi-cloud-cli]>=0.121.0",
7+
"azure-cosmos>=4.14.2",
8+
"azure-monitor-opentelemetry>=1.8.2",
9+
"fastapi[standard-no-fastapi-cloud-cli]>=0.121.2",
1010
"pydantic>=2.12.4",
11-
"pydantic-settings[azure-key-vault]>=2.11.0",
11+
"pydantic-settings[azure-key-vault]>=2.12.0",
1212
]
1313

1414
[dependency-groups]
1515
dev = [
1616
"jupyter>=1.1.1",
1717
"poethepoet>=0.37.0",
1818
"pyright[nodejs]>=1.1.407",
19-
"pytest>=8.4.2",
20-
"pytest-asyncio>=1.2.0",
19+
"pytest>=9.0.1",
20+
"pytest-asyncio>=1.3.0",
2121
"pytest-cov>=7.0.0",
2222
"pytest-mock>=3.15.1",
23-
"ruff>=0.14.4",
23+
"ruff>=0.14.5",
2424
]
2525

2626
[build-system]
@@ -52,8 +52,9 @@ ignore = [
5252
"TC", # flake8-type-checking
5353
]
5454

55-
[tool.pytest.ini_options]
55+
[tool.pytest]
5656
pythonpath = ["tests"]
57+
strict = true
5758
asyncio_mode = "auto"
5859
asyncio_default_fixture_loop_scope = "function"
5960

0 commit comments

Comments
 (0)