issue #297: visualize group sparsity in example group_logistic_regression #1701
Workflow file for this run
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: Install package and testing tools | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install . | |
| pip install .[test] | |
| - name: Install other dependencies | |
| run: | | |
| conda install rpy2 -c conda-forge | |
| 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/ |