FEAT - add fit_intercept support for LBFGS (#326) #1807
This file contains hidden or 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.10 | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: "3.10" | |
| - name: Set up R | |
| uses: r-lib/actions/setup-r@v2 | |
| - name: Install package and testing tools | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install . | |
| pip install .[test] | |
| python --version | |
| - name: Install other dependencies | |
| run: | | |
| pip install rpy2 | |
| pip install statsmodels cvxopt | |
| pip install sortedl1 | |
| # for testing Cox estimator | |
| pip install lifelines | |
| pip install pandas | |
| - name: Test with pytest | |
| run: pytest -v skglm/ |