Skip to content

Commit

Permalink
[python/tests] Drop PY2 support for dm_env module test.
Browse files Browse the repository at this point in the history
The dm_env library itself has dropped PY2 support:

google-deepmind/dm_env@09686eb
  • Loading branch information
tkoeppe committed Mar 4, 2021
1 parent 8abbb06 commit 26e78de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ jobs:
bazel --bazelrc=.precommit.bazelrc test ${{matrix.cfg.config}} --copt=-Wno-sign-compare //...
bazel --bazelrc=.precommit.bazelrc test ${{matrix.cfg.config}} --copt=-Wno-sign-compare //python/tests:python_module_test.py2 --test_tag_filters="" --test_arg=--verbose
bazel --bazelrc=.precommit.bazelrc test ${{matrix.cfg.config}} --copt=-Wno-sign-compare //python/tests:python_module_test.py3 --test_tag_filters="" --test_arg=--verbose
bazel --bazelrc=.precommit.bazelrc test ${{matrix.cfg.config}} --copt=-Wno-sign-compare //python/tests:dmenv_module_test.py2 --test_tag_filters="" --test_arg=--verbose
bazel --bazelrc=.precommit.bazelrc test ${{matrix.cfg.config}} --copt=-Wno-sign-compare //python/tests:dmenv_module_test.py3 --test_tag_filters="" --test_arg=--verbose
bazel --bazelrc=.precommit.bazelrc test ${{matrix.cfg.config}} --copt=-Wno-sign-compare //python/tests:dmenv_module_test --test_tag_filters="" --test_arg=--verbose
- name: run-agent
run: |
bazel --bazelrc=.precommit.bazelrc run ${{matrix.cfg.config}} --copt=-Wno-sign-compare --define headless=osmesa //:python_random_agent
2 changes: 1 addition & 1 deletion python/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ py2and3_test(
deps = ["@six_archive//:six"],
)

py2and3_test(
py_test(
name = "dmenv_module_test",
srcs = ["dmenv_module_test.py"],
tags = ["noprecommit"],
Expand Down

0 comments on commit 26e78de

Please sign in to comment.