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
6 changes: 3 additions & 3 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
outputs:
docker-tag: ${{ steps.docker-tag.outputs.docker-tag }}
env:
UV_NO_SYNC: 1
PYTHON_APP_ENVIRONMENT: development
CI: true # Enable pytest CI mode
steps:
- name: Checkout repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
Expand All @@ -42,12 +42,12 @@ jobs:
shell: bash

- name: Unit tests
run: uv run --frozen -- pytest --cov=python_template --cov-branch tests/unit
run: uv run -- pytest --cov=python_template --cov-branch tests/unit
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the --frozen flag from uv run commands is inconsistent with the purpose of UV_NO_SYNC. The --frozen flag ensures that uv runs with the exact dependencies specified in the lockfile without attempting to update them, which is critical for reproducible CI builds. Without this flag, uv may attempt to resolve dependencies differently than what's in the lockfile, potentially causing build inconsistencies. The --frozen flag should be retained to ensure deterministic builds.

Copilot uses AI. Check for mistakes.
shell: bash

- name: Integration tests
if: false
run: uv run --frozen -- pytest --cov=python_template --cov-branch --cov-append tests/integration
run: uv run -- pytest --cov=python_template --cov-branch --cov-append tests/integration
shell: bash

- name: Set up Docker Buildx
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ dependencies = [
"aiohttp>=3.13.3",
"aspy-dependency-injection>=0.5.0",
"asyncpg>=0.31.0",
"azure-monitor-opentelemetry>=1.8.3",
"azure-monitor-opentelemetry>=1.8.4",
"fastapi[standard-no-fastapi-cloud-cli]>=0.128.0",
"greenlet>=3.3.0",
"greenlet>=3.3.1",
"pydantic>=2.12.5",
"pydantic-settings[azure-key-vault]>=2.12.0",
"sqlmodel>=0.0.31",
Expand All @@ -21,8 +21,8 @@ dev = [
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
"pytest-mock>=3.15.1",
"ruff>=0.14.11",
"ty>=0.0.11",
"ruff>=0.14.14",
"ty>=0.0.13",
]

[build-system]
Expand Down
Loading