This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ec5f55
commit 3795b83
Showing
6 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.idea/ | ||
__pycache__/ | ||
*.egg-info/ | ||
logs/ | ||
None/ | ||
dist/ | ||
.pytest_cache/ | ||
.DS_Store | ||
loco_mujoco/datasets/ | ||
mushroom_rl_recordings/ | ||
record_all/ | ||
_build/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ wheel==0.43.0 | |
black==24.4.2 | ||
ruff==0.4.6 | ||
isort==5.13.2 | ||
pytest==8.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
"""Defines PyTest configuration for the project.""" | ||
|
||
import random | ||
|
||
import pytest | ||
from _pytest.python import Function | ||
|
||
|
||
@pytest.fixture(autouse=True) | ||
def set_random_seed() -> None: | ||
random.seed(1337) | ||
|
||
|
||
def pytest_collection_modifyitems(items: list[Function]) -> None: | ||
items.sort(key=lambda x: x.get_closest_marker("slow") is not None) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
"""Defines a dummy test.""" | ||
|
||
import pytest | ||
|
||
|
||
def test_dummy() -> None: | ||
assert True | ||
|
||
|
||
@pytest.mark.slow | ||
def test_slow() -> None: | ||
assert True |