• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rlworkgroup / garage / 2768 / 1
63%
master: 64%

Build:
Build:
LAST BUILD BRANCH: release-2018.10
DEFAULT BRANCH: master
Ran 08 Oct 2018 11:46PM UTC
Files 239
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Oct 2018 09:47PM UTC coverage: 62.749%. First build
2768.1

push

travis-ci-com

web-flow
Fix serialization of Gym Environments (#318)

Add a round-trip pickling test for every Serializable object. This
will help ensure that shallow picking bugs do not sneak into the
codebase, which has been common recently. Conveniently, it also adds
a tiny functionality test for many primitives.

A boolean argument has been added to the check_tests script to run only
tests for Cron Jobs in Travis CI. The "cron job" tests are filtered
using the attrib plugin from nose2.

Assign the field cron_job to True to those methods that had to be added
to the cron job. For example:
def test_long_task():
    # some time consuming function
    # ...
test_long_task.cron_job = True

The tests to verify all gym environments for the Theano and TensorFlow
branch have been added to the Cron Job.

For the serialization of objects in Garage, besides verifying no
exception is thrown by serializing them, it's necessary to verify that
their parameters can be fetched by un-serializing them.

Also, the script check_tests.sh was restored and a separate script to
test cron jobs was created instead.

The helper method pickle_env_with_gym_quirks was merged into
step_env_with_gym_quirks since they're almost doing the same thing, and
the parameter serialize_env is used now to pickle/unpickle the
environment.

The method close_viewer_window was moved into GarageEnv class,
so the viewer windows produced by MuJoCo get closed not only for tests.
The file test_envs has been removed now that the most environments arte
The mock modules for mujoco_py and mujoco_py.builder have been removed
from check_imports.py to import the modules during the checking of
imports.

Finally, the test fixture in test_envs has been removed now that we have
a proper environment test suite.

9428 of 15025 relevant lines covered (62.75%)

0.63 hits per line

Source Files on job 2768.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 261
  • Travis Job 2768.1
  • 58562192 on github
  • Next Job for on fix-logging (#2771.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc