Skip to content

Commit

Permalink
modify test_learner_with_coordinator loop range and remove python3.7 …
Browse files Browse the repository at this point in the history
…from cudatest
  • Loading branch information
SolenoidWGT committed Jan 18, 2023
1 parent dcc0a1a commit 142bce9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9"]
python-version: ["3.8", "3.9"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -84,7 +84,7 @@ jobs:
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9"]
python-version: ["3.8", "3.9"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ WORKERS_COMMAND := $(if ${WORKERS},-n ${WORKERS} --dist=loadscope,)
DURATIONS ?= 10
DURATIONS_COMMAND := $(if ${DURATIONS},--durations=${DURATIONS},)

TIMEOUT_LIMIT ?= 300

docs:
$(MAKE) -C ${DING_DIR}/docs html

unittest:
pytest ${TEST_DIR} \
--timeout=180 \
--timeout=${TIMEOUT_LIMIT} \
--cov-report=xml \
--cov-report term-missing \
--cov=${COV_DIR} \
Expand All @@ -37,7 +39,7 @@ algotest:

cudatest:
pytest ${TEST_DIR} \
--timeout=180 \
--timeout=${TIMEOUT_LIMIT} \
-sv -m cudatest

envpooltest:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def setup_config():
cfg = compile_config_parallel(
parallel_test_main_config, create_cfg=parallel_test_create_config, system_cfg=parallel_test_system_config
)
cfg.main.policy.learn.learner.train_iterations = 100
cfg.main.policy.learn.learner.train_iterations = 10
return cfg


Expand Down

0 comments on commit 142bce9

Please sign in to comment.