Skip to content

Commit

Permalink
update coverage to pettingzoo folder
Browse files Browse the repository at this point in the history
update the clone branch in colab
  • Loading branch information
maryamhonari committed Oct 8, 2021
1 parent b25e8ca commit 532fd27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
pip freeze > pip_versions-${{ matrix.python-version }}.txt
cat pip_versions-${{ matrix.python-version }}.txt
- name: Run pytest
run: pytest --cov=ml-agents ml-agents --cov=ml-agents-envs ml-agents-envs --cov=gym-unity gym-unity --cov-report=html --junitxml=junit/test-results-${{ matrix.python-version }}.xml -p no:warnings -v
run: pytest --cov=ml-agents ml-agents --cov=ml-agents-envs ml-agents-envs --cov=gym-unity gym-unity --cov=pettingzoo-unity --cov-report=html --junitxml=junit/test-results-${{ matrix.python-version }}.xml -p no:warnings -v
- name: Upload pytest test results
uses: actions/upload-artifact@v2
with:
Expand Down
11 changes: 1 addition & 10 deletions pettingzoo-unity/Colab_PettingZoo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
" import mlagents\n",
" print(\"ml-agents already installed\")\n",
"except ImportError:\n",
" !git clone -b exp-petting-registry --single-branch https://github.com/Unity-Technologies/ml-agents.git\n",
" !git clone -b develop-petting-api --single-branch https://github.com/Unity-Technologies/ml-agents.git\n",
" !python -m pip install -q ./ml-agents/ml-agents-envs\n",
" !python -m pip install -q ./ml-agents/ml-agents\n",
" !python -m pip install -q ./ml-agents/pettingzoo-unity\n",
Expand Down Expand Up @@ -312,15 +312,6 @@
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.8"
},
"pycharm": {
"stem_cell": {
"cell_type": "raw",
"metadata": {
"collapsed": false
},
"source": []
}
}
},
"nbformat": 4,
Expand Down

0 comments on commit 532fd27

Please sign in to comment.