Skip to content

Commit

Permalink
Merge pull request #49 from HumanCompatibleAI/planner_dev
Browse files Browse the repository at this point in the history
Planner Update (Compatible with the new MDP) + Variable MDP Generator + Multi-Layout-Training Structure
  • Loading branch information
nathan-miller23 authored Aug 24, 2020
2 parents 51a4139 + 301f774 commit f1669a1
Show file tree
Hide file tree
Showing 43 changed files with 2,408 additions and 1,737 deletions.
43 changes: 5 additions & 38 deletions .github/workflows/pythontests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,24 @@ jobs:
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: '3.7'
python-version: '3.7'
architecture: 'x64'
- name: Install dependencies
run: python -m pip install --upgrade pip
- name: Setup
run: pip install .
- name: Run tests
run: |
python testing/overcooked_test.py
## This should be uncommented once the planners are updated ##
# osx_full_tests:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v2
# - name: Set up Python 3.7
# uses: actions/setup-python@v2
# with:
# python-version: '3.7'
# architecture: 'x64'
# - name: Install dependencies
# run: python -m pip install --upgrade pip
# - name: Setup
# run: pip install .
# - name: Run tests
# run: |
# python -m unittest discover -s testing/ -p "*_test.py"
python -m unittest discover -s testing/ -p "*_test.py"
ubuntu_mdp_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: '3.7'
python-version: '3.7'
architecture: 'x64'
- name: Install dependencies
run: |
Expand All @@ -50,28 +34,11 @@ jobs:
run: pip install -e .
- name: Run tests and generate coverage report
run: |
coverage run testing/overcooked_test.py
coverage run -m unittest discover -s testing/ -p "*_test.py"
coverage report
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
flags: no-planners
name: codecov-report
fail_ci_if_error: false
## This should be uncommented once the planners are updated
# ubuntu_full_tests:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Set up Python 3.7
# uses: actions/setup-python@v2
# with:
# python-version: '3.7'
# architecture: 'x64'
# - name: Install dependencies
# run: python -m pip install --upgrade pip
# - name: Setup
# run: pip install .
# - name: Run tests
# run: |
# python -m unittest discover -s testing/ -p "*_test.py"
Loading

0 comments on commit f1669a1

Please sign in to comment.