Skip to content

Commit

Permalink
mark more gpu test
Browse files Browse the repository at this point in the history
  • Loading branch information
kw-corne committed Aug 25, 2023
1 parent d33fa60 commit 609befe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions autoverify/util/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ def __init__(
strategy: ResourceStrategy | str = ResourceStrategy.Auto,
):
"""_summary_."""
print(">" * 40)
print(pf_scen.resources)
print(">" * 40)
self._verifiers = pf_scen.verifiers
self._verifier_resources = pf_scen.resources
self._pf_len = pf_scen.length
Expand Down
1 change: 1 addition & 0 deletions tests/test_portfolio/test_resource_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from autoverify.util.verification_instance import VerificationInstance

# TODO: Mock number of CPUs and GPUs
pytestmark = pytest.mark.gpu


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ deps =
pytest-lazy-fixture
passenv = CODECOV_*
commands =
coverage run -m pytest -v -m "not gpu and not verifier" {tty:--color=yes} {posargs}
coverage run -m pytest -s -v -m "not gpu and not verifier" {tty:--color=yes} {posargs}
coverage report --omit=tests/*
coverage xml --omit=tests/*

Expand Down

0 comments on commit 609befe

Please sign in to comment.