Skip to content

Commit

Permalink
Update coverage ignore of github_runner_manager
Browse files Browse the repository at this point in the history
  • Loading branch information
yhaliaw committed Sep 4, 2024
1 parent 80e7552 commit f56e291
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ omit = [
# These are covered by `tests/integration/test_runner_manager_openstack.py`.
"src/openstack_cloud/openstack_cloud.py",
"src/openstack_cloud/openstack_runner_manager.py",
# Thin wrapper around GitHub API. Not a lot of value in unit tests.
"src/manager/github_runner_manager.py",
# Contains interface for calling LXD. Tested in integration tests and end to end tests.
"src/lxd.py",
# Contains interface for calling repo policy compliance service. Tested in integration test
Expand Down
3 changes: 2 additions & 1 deletion src/manager/github_runner_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ def from_runner(runner: SelfHostedRunner) -> "GitHubRunnerState":
return state


class GitHubRunnerManager:
# Thin wrapper around the GitHub Client. Not much value in unit testing.
class GitHubRunnerManager: # pragma: no cover
"""Manage self-hosted runner on GitHub side."""

def __init__(self, prefix: str, token: str, path: GitHubPath):
Expand Down

0 comments on commit f56e291

Please sign in to comment.