Bump scikit-learn from 0.20.2 to 1.5.0 #140
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.6, 3.7] | |
os: [ubuntu-latest, macos-latest] | |
ray-version: [0.8.1, 0.8.2] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package and dependencies | |
run: | | |
pip install ray==${{ matrix.ray-version }} | |
python setup.py develop | |
- name: Lint | |
run: | | |
echo Linter is disabled so far | |
- name: Test with pytest and obtain coverage | |
run: | | |
pip install pytest | |
pytest | |
coverage: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.7] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package and dependencies | |
run: | | |
pip install ray==0.8.2 | |
python setup.py develop | |
- name: Get core coverage | |
run: | | |
pip install pytest | |
pip install pytest-cov | |
pytest --cov=./kts/core --cov-report=xml | |
- name: Upload core coverage | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./coverage.xml | |
flags: core |