浏览代码

install pytest-xdist and run with (hopefully) more processes in CI (#3178)

* install pytest-xdist and run with (hopefully) more processes in CI

* try -n 2
/asymm-envs
GitHub 5 年前
当前提交
7c61c74a
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 2
      .circleci/config.yml
  2. 1
      test_requirements.txt

2
.circleci/config.yml


. venv/bin/activate
mkdir test-reports
pip freeze > test-reports/pip_versions.txt
pytest --cov=ml-agents --cov=ml-agents-envs --cov=gym-unity --cov-report html --junitxml=test-reports/junit.xml -p no:warnings
pytest -n 2 --cov=ml-agents --cov=ml-agents-envs --cov=gym-unity --cov-report html --junitxml=test-reports/junit.xml -p no:warnings
- run:
name: Verify there are no hidden/missing metafiles.

1
test_requirements.txt


# Test-only dependencies should go here, not in setup.py
pytest>4.0.0,<6.0.0
pytest-cov==2.6.1
pytest-xdist
正在加载...
取消
保存