Skip to content

Commit db1bde0

Browse files
authored
Update yml
1 parent 0a0c9e8 commit db1bde0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,29 @@ on:
1414
workflow_dispatch:
1515

1616
jobs:
17+
compatibility:
18+
runs-on: ${{ matrix.os }}
19+
strategy:
20+
matrix:
21+
os: [ubuntu-latest]
22+
python-version: ['3.6', '3.7', '3.8', '3.9']
23+
steps:
24+
- uses: actions/checkout@v2
25+
- name: Set up Python
26+
uses: actions/setup-python@v2
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
- name: Run Tests with skggm + scikit-learn 0.20.3
30+
env:
31+
SKGGM_VERSION: a0ed406586c4364ea3297a658f415e13b5cbdaf8
32+
run: |
33+
sudo apt-get install liblapack-dev
34+
pip install --upgrade pip pytest
35+
pip install wheel cython numpy scipy codecov pytest-cov
36+
pip install scikit-learn==0.20.3
37+
pip install git+https://github.com/skggm/skggm.git@${SKGGM_VERSION}
38+
pytest test --cov
39+
bash <(curl -s https://codecov.io/bash)
1740
build:
1841
runs-on: ${{ matrix.os }}
1942
strategy:

0 commit comments

Comments
 (0)