Skip to content

Commit f214e66

Browse files
committed
Match groups on main branch
1 parent 06bc4c7 commit f214e66

File tree

5 files changed

+28
-5
lines changed

5 files changed

+28
-5
lines changed

.github/workflows/smokeshow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
cache-dependency-glob: |
3030
pyproject.toml
3131
uv.lock
32-
- run: uv sync --locked --all-extras --dev
32+
- run: uv sync --locked --group tests
3333
- uses: actions/download-artifact@v7
3434
with:
3535
name: coverage-html

.github/workflows/test-redistribute.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Install test dependencies
3434
run: |
3535
cd dist/annotated_doc*/
36-
pip install --group dev .
36+
pip install --group tests .
3737
- name: Run source distribution tests
3838
run: |
3939
cd dist/annotated_doc*/

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
with:
7171
limit-access-to-actor: true
7272
- name: Install Dependencies
73-
run: uv sync --locked --all-extras --dev
73+
run: uv sync --locked --group tests
7474
- name: Lint
7575
run: uv run bash scripts/lint.sh
7676
- run: mkdir coverage
@@ -115,7 +115,7 @@ jobs:
115115
with:
116116
limit-access-to-actor: true
117117
- name: Install Dependencies
118-
run: uv sync --locked --all-extras --dev
118+
run: uv sync --locked --group tests
119119
- run: ls -la coverage
120120
- run: uv run coverage combine coverage
121121
- run: uv run coverage html --title "Coverage for ${{ github.sha }}"

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,12 @@ Changelog = "https://github.com/fastapi/annotated-doc/release-notes.md"
4242

4343
[dependency-groups]
4444
dev = [
45+
{ include-group = "tests" },
46+
"prek>=0.2.24,<1.0.0",
47+
]
48+
tests = [
4549
"coverage[toml]>=7.6.1",
4650
"mypy==1.14.1",
47-
"prek>=0.2.24,<1.0.0",
4851
"pytest>=8.3.5",
4952
"ruff==0.14.3",
5053
"smokeshow>=0.5.0",

uv.lock

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

0 commit comments

Comments
 (0)