Skip to content

Commit a2e06e5

Browse files
committed
Fix CI: add --no-dev to prevent dev group auto-sync
uv sync by default includes the dev group which installs Faker. This caused previously-skipped performance tests to run and fail. Adding --no-dev restores the original behavior where only test dependencies are installed.
1 parent 8346cd2 commit a2e06e5

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
uses: astral-sh/setup-uv@v5
5353

5454
- name: Install dependencies
55-
run: uv sync --group test
55+
run: uv sync --group test --no-dev
5656

5757
- name: Run unit tests
5858
run: |
@@ -88,7 +88,7 @@ jobs:
8888
uses: astral-sh/setup-uv@v5
8989

9090
- name: Install dependencies
91-
run: uv sync --group test
91+
run: uv sync --group test --no-dev
9292

9393
- name: Run SQLite integration tests
9494
run: uv run pytest tests/test_sqlite.py -v --timeout=60
@@ -125,7 +125,7 @@ jobs:
125125
uses: astral-sh/setup-uv@v5
126126

127127
- name: Install dependencies
128-
run: uv sync --group test --extra mssql
128+
run: uv sync --group test --no-dev --extra mssql
129129

130130
- name: Wait for SQL Server to be ready
131131
run: |
@@ -178,7 +178,7 @@ jobs:
178178
uses: astral-sh/setup-uv@v5
179179

180180
- name: Install dependencies
181-
run: uv sync --group test --extra postgres
181+
run: uv sync --group test --no-dev --extra postgres
182182

183183
- name: Run PostgreSQL integration tests
184184
env:
@@ -222,7 +222,7 @@ jobs:
222222
uses: astral-sh/setup-uv@v5
223223

224224
- name: Install dependencies
225-
run: uv sync --group test --extra mysql
225+
run: uv sync --group test --no-dev --extra mysql
226226

227227
- name: Run MySQL integration tests
228228
env:
@@ -265,7 +265,7 @@ jobs:
265265
uses: astral-sh/setup-uv@v5
266266

267267
- name: Install dependencies
268-
run: uv sync --group test --extra oracle
268+
run: uv sync --group test --no-dev --extra oracle
269269

270270
- name: Run Oracle integration tests
271271
env:
@@ -314,7 +314,7 @@ jobs:
314314
uses: astral-sh/setup-uv@v5
315315

316316
- name: Install dependencies
317-
run: uv sync --group test --extra mariadb
317+
run: uv sync --group test --no-dev --extra mariadb
318318

319319
- name: Run MariaDB integration tests
320320
env:
@@ -343,7 +343,7 @@ jobs:
343343
uses: astral-sh/setup-uv@v5
344344

345345
- name: Install dependencies
346-
run: uv sync --group test --extra duckdb
346+
run: uv sync --group test --no-dev --extra duckdb
347347

348348
- name: Run DuckDB integration tests
349349
run: uv run pytest tests/test_duckdb.py -v --timeout=60
@@ -364,7 +364,7 @@ jobs:
364364
uses: astral-sh/setup-uv@v5
365365

366366
- name: Install dependencies
367-
run: uv sync --group test --extra cockroachdb
367+
run: uv sync --group test --no-dev --extra cockroachdb
368368

369369
- name: Start CockroachDB
370370
run: |
@@ -415,7 +415,7 @@ jobs:
415415
uses: astral-sh/setup-uv@v5
416416

417417
- name: Install dependencies
418-
run: uv sync --group test --extra firebird
418+
run: uv sync --group test --no-dev --extra firebird
419419

420420
- name: Run Firebird integration tests
421421
env:
@@ -442,7 +442,7 @@ jobs:
442442
uses: astral-sh/setup-uv@v5
443443

444444
- name: Install dependencies
445-
run: uv sync --group test --extra clickhouse
445+
run: uv sync --group test --no-dev --extra clickhouse
446446

447447
- name: Start ClickHouse
448448
run: |
@@ -485,7 +485,7 @@ jobs:
485485
uses: astral-sh/setup-uv@v5
486486

487487
- name: Install dependencies
488-
run: uv sync --group test --extra ssh --extra postgres
488+
run: uv sync --group test --no-dev --extra ssh --extra postgres
489489

490490
- name: Create Docker network
491491
run: docker network create ssh-test-net
@@ -567,7 +567,7 @@ jobs:
567567
uses: astral-sh/setup-uv@v5
568568

569569
- name: Install dependencies
570-
run: uv sync --group test --extra turso
570+
run: uv sync --group test --no-dev --extra turso
571571

572572
- name: Start Turso (libsql-server)
573573
run: |

0 commit comments

Comments
 (0)