7
7
- name : Set up Python 3.7
8
8
uses : actions/setup-python@v2
9
9
with :
10
- python-version : ' 3.7'
10
+ python-version : ' 3.7'
11
11
architecture : ' x64'
12
12
- name : Install dependencies
13
13
run : python -m pip install --upgrade pip
14
14
- name : Setup
15
15
run : pip install .
16
16
- name : Run tests
17
17
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
+
36
20
ubuntu_mdp_tests :
37
21
runs-on : ubuntu-latest
38
22
steps :
39
23
- uses : actions/checkout@v2
40
24
- name : Set up Python 3.7
41
25
uses : actions/setup-python@v2
42
26
with :
43
- python-version : ' 3.7'
27
+ python-version : ' 3.7'
44
28
architecture : ' x64'
45
29
- name : Install dependencies
46
30
run : |
@@ -50,28 +34,11 @@ jobs:
50
34
run : pip install -e .
51
35
- name : Run tests and generate coverage report
52
36
run : |
53
- coverage run testing/overcooked_test .py
37
+ coverage run -m unittest discover -s testing/ -p "*_test .py"
54
38
coverage report
55
39
- name : Upload coverage to Codecov
56
40
uses : codecov/codecov-action@v1
57
41
with :
58
42
flags : no-planners
59
43
name : codecov-report
60
44
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