Skip to content

Commit 1ea7a7d

Browse files
committed
Fix tox dependency groups
1 parent f88aa07 commit 1ea7a7d

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/pull-request.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: pull request
22
on:
33
pull_request:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
jobs:
77
lint-format-types:
88
runs-on: ubuntu-latest
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python ${{ matrix.python-version }}
2020
run: uv python install ${{ matrix.python-version }}
2121
- name: Install dependencies
22-
run: uv sync --extra dev
22+
run: uv sync --dev
2323
- name: Format Check
2424
run: make fmt-check
2525
- name: Lint
@@ -39,10 +39,11 @@ jobs:
3939
- name: Install Python versions
4040
run: uv python install 3.11 3.12 3.13
4141
- name: Install dependencies
42-
run: uv sync --extra dev
42+
run: uv sync --dev
4343
- name: Run tests with tox
4444
run: uv run tox
4545
- name: Run E2E tests (Python 3.13)
4646
env:
4747
DUNE_API_KEY: ${{ secrets.DUNE_API_KEY }}
48-
run: uv run --python 3.13 --extra dev python -m pytest tests/e2e -v
48+
run: uv run --python 3.13 --dev python -m pytest tests/e2e -v
49+

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ description = Run tests with pytest
99
package = wheel
1010
wheel_build_env = .pkg
1111
runner = uv-venv-runner
12-
extras = dev
13-
commands =
12+
dependency_groups =
13+
dev
14+
commands =
1415
python -m pytest tests/unit -v
1516

1617
[testenv:py311]

0 commit comments

Comments
 (0)