Skip to content

Commit 9e2864f

Browse files
fixup
1 parent bc38f8c commit 9e2864f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ chk:
1414
.PHONY: test
1515
test: chk
1616
# TODO: https://github.com/astral-sh/uv/issues/5903
17-
uvx pytest -n 8 --cov pyathena --cov-report html --cov-report term tests/pyathena/
17+
uv run pytest -n 8 --cov pyathena --cov-report html --cov-report term tests/pyathena/
1818

1919
.PHONY: test-sqla
2020
test-sqla:
2121
# TODO: https://github.com/astral-sh/uv/issues/5903
22-
uvx pytest -n 8 --cov pyathena --cov-report html --cov-report term tests/sqlalchemy/
22+
uv run pytest -n 8 --cov pyathena --cov-report html --cov-report term tests/sqlalchemy/
2323

2424
.PHONY: tox
2525
tox:
@@ -34,5 +34,4 @@ docs:
3434
tool:
3535
uv tool install ruff
3636
uv tool install mypy
37-
uv tool install pytest --with pytest-cov --with pytest-xdist --with pytest-dependency
3837
uv tool install tox --with tox-uv --with tox-gh

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,9 @@ allowlist_externals =
159159
uv
160160
uvx
161161
make
162-
pytest
163162
commands =
164163
uv sync --group dev
165-
pytest -n 8 --cov pyathena --cov-report html --cov-report term tests/pyathena/
164+
make test
166165
passenv =
167166
TOXENV
168167
AWS_*
@@ -171,5 +170,5 @@ passenv =
171170
[testenv:py{39,310,311,312,313}-sqla]
172171
commands =
173172
uv sync --group dev
174-
pytest -n 8 --cov pyathena --cov-report html --cov-report term tests/sqlalchemy/
173+
make test-sqla
175174
"""

0 commit comments

Comments
 (0)