1616 steps :
1717 - uses : actions/checkout@v1
1818 - name : Set up Python ${{ matrix.python-version }}
19- uses : actions/setup-python@v1
19+ uses : actions/setup-python@v2
2020 with :
2121 python-version : ${{ matrix.python-version }}
2222 - name : Install package
@@ -29,11 +29,11 @@ jobs:
2929 strategy :
3030 matrix :
3131 python-version : [3.6, 3.7, 3.8]
32- os : [ubuntu-latest , macos-latest]
32+ os : [ubuntu-20.04 , macos-latest]
3333 steps :
3434 - uses : actions/checkout@v1
3535 - name : Set up Python ${{ matrix.python-version }}
36- uses : actions/setup-python@v1
36+ uses : actions/setup-python@v2
3737 with :
3838 python-version : ${{ matrix.python-version }}
3939 - name : Install package and dependencies
@@ -46,31 +46,48 @@ jobs:
4646 strategy :
4747 matrix :
4848 python-version : [3.6, 3.7, 3.8]
49- os : [ubuntu-latest , macos-latest]
49+ os : [ubuntu-20.04 , macos-latest]
5050 steps :
5151 - uses : actions/checkout@v1
5252 - name : Set up Python ${{ matrix.python-version }}
53- uses : actions/setup-python@v1
53+ uses : actions/setup-python@v2
5454 with :
5555 python-version : ${{ matrix.python-version }}
5656 - name : Install package and dependencies
57- run : pip install .[test ]
57+ run : pip install .[unit ]
5858 - name : make test-unit
5959 run : make test-unit
6060
61+ unit-mlprimitives :
62+ runs-on : ${{ matrix.os }}
63+ strategy :
64+ matrix :
65+ python-version : [3.6, 3.7, 3.8]
66+ os : [ubuntu-20.04, macos-latest]
67+ steps :
68+ - uses : actions/checkout@v1
69+ - name : Set up Python ${{ matrix.python-version }}
70+ uses : actions/setup-python@v2
71+ with :
72+ python-version : ${{ matrix.python-version }}
73+ - name : Install package and dependencies
74+ run : pip install .[test]
75+ - name : make test-mlprimitives
76+ run : make test-mlprimitives
77+
6178 tutorials :
6279 runs-on : ${{ matrix.os }}
6380 strategy :
6481 matrix :
6582 python-version : [3.6, 3.7, 3.8]
66- os : [ubuntu-latest ]
83+ os : [ubuntu-20.04 ]
6784 steps :
6885 - uses : actions/checkout@v1
6986 - name : Set up Python ${{ matrix.python-version }}
70- uses : actions/setup-python@v1
87+ uses : actions/setup-python@v2
7188 with :
7289 python-version : ${{ matrix.python-version }}
73- - if : matrix.os == 'ubuntu-latest '
90+ - if : matrix.os == 'ubuntu-20.04 '
7491 name : Install dependencies - Ubuntu
7592 run : sudo apt-get install graphviz
7693 - name : Install package and dependencies
0 commit comments