Skip to content

Commit f1669a1

Browse files
Merge pull request #49 from HumanCompatibleAI/planner_dev
Planner Update (Compatible with the new MDP) + Variable MDP Generator + Multi-Layout-Training Structure
2 parents 51a4139 + 301f774 commit f1669a1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2408
-1737
lines changed

.github/workflows/pythontests.yml

Lines changed: 5 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -7,40 +7,24 @@ jobs:
77
- name: Set up Python 3.7
88
uses: actions/setup-python@v2
99
with:
10-
python-version: '3.7'
10+
python-version: '3.7'
1111
architecture: 'x64'
1212
- name: Install dependencies
1313
run: python -m pip install --upgrade pip
1414
- name: Setup
1515
run: pip install .
1616
- name: Run tests
1717
run: |
18-
python testing/overcooked_test.py
19-
## This should be uncommented once the planners are updated ##
20-
# osx_full_tests:
21-
# runs-on: macos-latest
22-
# steps:
23-
# - uses: actions/checkout@v2
24-
# - name: Set up Python 3.7
25-
# uses: actions/setup-python@v2
26-
# with:
27-
# python-version: '3.7'
28-
# architecture: 'x64'
29-
# - name: Install dependencies
30-
# run: python -m pip install --upgrade pip
31-
# - name: Setup
32-
# run: pip install .
33-
# - name: Run tests
34-
# run: |
35-
# python -m unittest discover -s testing/ -p "*_test.py"
18+
python -m unittest discover -s testing/ -p "*_test.py"
19+
3620
ubuntu_mdp_tests:
3721
runs-on: ubuntu-latest
3822
steps:
3923
- uses: actions/checkout@v2
4024
- name: Set up Python 3.7
4125
uses: actions/setup-python@v2
4226
with:
43-
python-version: '3.7'
27+
python-version: '3.7'
4428
architecture: 'x64'
4529
- name: Install dependencies
4630
run: |
@@ -50,28 +34,11 @@ jobs:
5034
run: pip install -e .
5135
- name: Run tests and generate coverage report
5236
run: |
53-
coverage run testing/overcooked_test.py
37+
coverage run -m unittest discover -s testing/ -p "*_test.py"
5438
coverage report
5539
- name: Upload coverage to Codecov
5640
uses: codecov/codecov-action@v1
5741
with:
5842
flags: no-planners
5943
name: codecov-report
6044
fail_ci_if_error: false
61-
## This should be uncommented once the planners are updated
62-
# ubuntu_full_tests:
63-
# runs-on: ubuntu-latest
64-
# steps:
65-
# - uses: actions/checkout@v2
66-
# - name: Set up Python 3.7
67-
# uses: actions/setup-python@v2
68-
# with:
69-
# python-version: '3.7'
70-
# architecture: 'x64'
71-
# - name: Install dependencies
72-
# run: python -m pip install --upgrade pip
73-
# - name: Setup
74-
# run: pip install .
75-
# - name: Run tests
76-
# run: |
77-
# python -m unittest discover -s testing/ -p "*_test.py"

0 commit comments

Comments
 (0)