@@ -19,18 +19,41 @@ jobs:
1919 strategy :
2020 matrix :
2121 os : [ubuntu-latest]
22- python-version : ['3.6', '3.7', '3.8', '3.9', 'pypy-3.6', 'pypy-3.7' ]
22+ python-version : ['3.6', '3.7', '3.8', '3.9']
2323 steps :
2424 - uses : actions/checkout@v2
2525 - name : Set up Python
2626 uses : actions/setup-python@v2
2727 with :
2828 python-version : ${{ matrix.python-version }}
29- - name : Display Python version
29+ - name : Run Tests without skggm
3030 run : |
3131 sudo apt-get install liblapack-dev
3232 pip install --upgrade pip pytest
3333 pip install wheel cython numpy scipy codecov pytest-cov scikit-learn
3434 pytest test --cov
35+ - name : Run Tests with skggm
36+ env :
37+ SKGGM_VERSION : a0ed406586c4364ea3297a658f415e13b5cbdaf8
38+ run : |
39+ sudo apt-get install liblapack-dev
40+ pip install --upgrade pip pytest
41+ pip install wheel cython numpy scipy codecov pytest-cov scikit-learn
42+ pip install git+https://github.com/skggm/skggm.git@${SKGGM_VERSION}
43+ pytest test --cov
44+ - name : Run Tests with skggm + scikit-learn 0.20.3
45+ env :
46+ SKGGM_VERSION : a0ed406586c4364ea3297a658f415e13b5cbdaf8
47+ run : |
48+ sudo apt-get install liblapack-dev
49+ pip install --upgrade pip pytest
50+ pip install wheel cython numpy scipy codecov pytest-cov
51+ pip install scikit-learn==0.20.3
52+ pip install git+https://github.com/skggm/skggm.git@${SKGGM_VERSION}
53+ pytest test --cov
54+ - name : Syntax checking with flake8
55+ run : |
56+ pip install flake8
57+ flake8 --extend-ignore=E111,E114 --show-source;
3558 - name : Codecov
3659 uses : codecov/codecov-action@v2.1.0
0 commit comments