Skip to content

Develop codacy test #1667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Mar 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,25 @@ jobs:
python3 -m venv venv
. venv/bin/activate
cd ml-agents && pip install -e .
pip install pytest-cov==2.6.1 codacy-coverage==1.3.11
cd ../gym-unity && pip install -e .

- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "ml-agents/setup.py" }}

- run:
name: Run Tests
name: Run Tests for ml-agents and gym_unity
command: |
. venv/bin/activate
cd ml-agents/ && pytest tests/
mkdir test-reports
pytest --junitxml=test-reports/junit.xml
pytest --cov=mlagents --cov-report xml --junitxml=test-reports/junit.xml -p no:warnings
python-codacy-coverage -r coverage.xml

- store_test_results:
path: ml-agents/test-reports
path: test-reports

- store_artifacts:
path: ml-agents/test-reports
destination: ml-agents/test-reports
path: test-reports
destination: test-reports
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<img src="docs/images/image-banner.png" align="middle" width="3000"/>

# Unity ML-Agents Toolkit (Beta)
[![docs badge](https://img.shields.io/badge/docs-reference-blue.svg)](docs/Readme.md)
[![license badge](https://img.shields.io/badge/license-Apache--2.0-green.svg)](LICENSE)

**The Unity Machine Learning Agents Toolkit** (ML-Agents) is an open-source
Unity plugin that enables games and simulations to serve as environments for
Expand Down