mirror of
https://github.com/wassname/ray.git
synced 2026-08-07 11:27:43 +08:00
[Tests] determine_tests_to_run.sh has a bug affecting RLlib testing to be skipped sometimes. (#7243)
This commit is contained in:
@@ -4,6 +4,7 @@ from __future__ import division
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
from functools import partial
|
||||
@@ -54,13 +55,13 @@ if __name__ == "__main__":
|
||||
]
|
||||
|
||||
for changed_file in files:
|
||||
if changed_file.startswith("python/ray/tune/"):
|
||||
if changed_file.startswith("python/ray/tune"):
|
||||
RAY_CI_TUNE_AFFECTED = 1
|
||||
RAY_CI_RLLIB_AFFECTED = 1
|
||||
RAY_CI_RLLIB_FULL_AFFECTED = 1
|
||||
RAY_CI_LINUX_WHEELS_AFFECTED = 1
|
||||
RAY_CI_MACOS_WHEELS_AFFECTED = 1
|
||||
elif changed_file.startswith("python/ray/rllib/"):
|
||||
elif re.match("^(python/ray/)?rllib/", changed_file):
|
||||
RAY_CI_RLLIB_AFFECTED = 1
|
||||
RAY_CI_RLLIB_FULL_AFFECTED = 1
|
||||
RAY_CI_LINUX_WHEELS_AFFECTED = 1
|
||||
|
||||
@@ -7,6 +7,10 @@ A2CAgent = renamed_agent(A2CTrainer)
|
||||
A3CAgent = renamed_agent(A3CTrainer)
|
||||
|
||||
__all__ = [
|
||||
"A2CAgent", "A3CAgent", "A2CTrainer", "A3CTrainer", "DEFAULT_CONFIG",
|
||||
"A2CAgent",
|
||||
"A3CAgent",
|
||||
"A2CTrainer",
|
||||
"A3CTrainer",
|
||||
"DEFAULT_CONFIG",
|
||||
"A2CPipeline"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user