support/testing: add python-gymnasium tests

Add a basic runtime test for the python-gymnasium package.
This test verifies the fundamental operations of the library by:
- Importing `gymnasium`.
- Creating a "CartPole-v1" environment.
- Resetting the environment.
- Taking a random action step.
- Closing the environment.

Signed-off-by: Xukai Wang <kingxukai@zohomail.com>
[Julien:
 - sort DEVELOPERS entries alphabetically
 - fix file name typo in DEVELOPERS
 - remove selection of dependencies in test config
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Xukai Wang
2026-02-13 03:03:49 +08:00
committed by Julien Olivain
parent 6e6597de21
commit b647b0c95d
3 changed files with 22 additions and 0 deletions

View File

@@ -3485,8 +3485,10 @@ F: package/python-farama-notifications/
F: package/python-gymnasium/
F: support/testing/tests/package/sample_python_cloudpickle.py
F: support/testing/tests/package/sample_python_farama_notifications.py
F: support/testing/tests/package/sample_python_gymnasium.py
F: support/testing/tests/package/test_python_cloudpickle.py
F: support/testing/tests/package/test_python_farama_notifications.py
F: support/testing/tests/package/test_python_gymnasium.py
N: Yair Ben Avraham <yairba@protonmail.com>
F: package/casync/