Run the gymnasium agent tests in CI #170
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci-gymnasium"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this PR does
Installs
gymnasiumin the Test workflow, so the agent tests that need it run in CI instead of being skipped.test_agent_env,test_agent_policiesandtest_agent_train_rewardimportorskipgymnasium, and the Test workflow didn't install it, so CI has never run them. That includes the new coverage test in #169..forgejo/workflows/test.yml: the install step adds"gymnasium==1.4.0", the version the image pins (builder/config.yml,pip.local.constraints). stable-baselines3 and torch stay out, as before.CLAUDE.md: themake testdependencies now include gymnasium.docs/developer/testing.md: separates gymnasium (light) from the heavy ML stack, lists pillow and cryptography, and replaces the out-of-date "This is not the CI gate" section, which said CI never ranpytest, with what the Lint and Test workflows actually run.Checklist
make lint(ansible--syntax-check,yamllint,shellcheck --severity=error, and the real-data check). The Lint workflow runs this on the PR.make testpasses 1687 (up from 1674, the two off-device-only failures deselected). In the three gymnasium files, 40 pass and 11 skip because they need stable-baselines3. The Test workflow on this PR is the real check.Release impact
Notes for review
pip.local.constraintschanges, bump it here too.🤖 Generated with Claude Code