Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omit tests from installation #50

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ source = "https://github.com/nasa-gcn/gcn-kafka-python"
[project.optional-dependencies]
test = ["pytest"]

[tool.setuptools.packages.find]
include = ["gcn_kafka"]

[tool.setuptools_scm]
write_to = "gcn_kafka/_version.py"
write_to = "src/gcn_kafka/_version.py"

[tool.coverage.run]
source = ["test"]
source_pkgs = ["gcn_kafka"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion gcn_kafka/test/test_core.py → test/test_core.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ..core import update_config
from gcn_kafka.core import update_config


def test_update_config_no_overwrite():
Expand Down
2 changes: 1 addition & 1 deletion gcn_kafka/test/test_env.py → test/test_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import os

from ..env import config_from_env
from gcn_kafka.env import config_from_env


def test_config_from_env(monkeypatch):
Expand Down
2 changes: 1 addition & 1 deletion gcn_kafka/test/test_oidc.py → test/test_oidc.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from unittest.mock import MagicMock

from .. import oidc
from gcn_kafka import oidc


def test_no_oidc():
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ deps =
extras =
test
commands =
pytest gcn_kafka --cov {posargs}
pytest --cov {posargs}
Loading