Skip to content

Commit 96c25d5

Browse files
committed
move pytest to top level; run uv sync in CI
1 parent 114e0d4 commit 96c25d5

File tree

4 files changed

+9
-15
lines changed

4 files changed

+9
-15
lines changed

.github/workflows/ci-python.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919

2020
- uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
2121

22+
- name: Install dependencies
23+
- run: uv sync --all-packages --all-groups
24+
2225
- name: Format
2326
run: uv run ruff format
2427

@@ -37,5 +40,8 @@ jobs:
3740

3841
- uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
3942

43+
- name: Install dependencies
44+
- run: uv sync --all-packages --all-groups
45+
4046
- name: Run tests
4147
run: uv run pytest python-objectstore-client

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ members = [
1414
[dependency-groups]
1515
dev = [
1616
"devservices>=1.2.2",
17+
"pytest>=8.3.3",
1718
"mypy>=1.17.1",
1819
"ruff>=0.14.2",
1920
"pre-commit>=4.2.0",

python-objectstore-client/pyproject.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,3 @@ dependencies = []
99
[build-system]
1010
requires = ["uv_build==0.9.3"] # must match the version specified in devenv/config.ini and the main pyproject.toml
1111
build-backend = "uv_build"
12-
13-
[dependency-groups]
14-
dev = [
15-
"pytest>=8.3.3",
16-
]

uv.lock

Lines changed: 2 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)