FEAT Add QuadraticHessian datafit #1582
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: pytest | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
jobs: | |
test: | |
name: Test Code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.8 | |
- name: Install package and testing tools | |
run: | | |
python -m pip install --upgrade pip | |
pip install . | |
pip install .[test] | |
- name: Install other dependencies | |
run: | | |
pip install celer | |
pip install statsmodels cvxopt | |
pip install git+https://github.com/jolars/pyslope.git | |
# for testing Cox estimator | |
pip install lifelines | |
pip install pandas | |
- name: Test with pytest | |
run: pytest -v skglm/ |