File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8484 - name : Test with pytest
8585 run : |
8686 python -m pytest src/hyperactive -p no:warnings
87+
88+ test-sklearn-versions :
89+ name : test-sklearn-${{ matrix.sklearn-version }}
90+ runs-on : ubuntu-latest
91+
92+ strategy :
93+ fail-fast : false
94+ matrix :
95+ sklearn-version : ["1.5", "1.6", "1.7"]
96+
97+ steps :
98+ - uses : actions/checkout@v4
99+
100+ - name : Set up Python 3.12
101+ uses : actions/setup-python@v5
102+ with :
103+ python-version : " 3.12"
104+
105+ - name : Install dependencies for scikit-learn ${{ matrix.sklearn-version }}
106+ run : |
107+ python -m pip install --upgrade pip
108+ python -m pip install build pytest
109+ python -m pip install scikit-learn==${{ matrix.sklearn-version }}
110+
111+ - name : Run sklearn integration tests for ${{ matrix.sklearn-version }}
112+ run : |
113+ python -m pytest -x -p no:warnings tests/integrations/sklearn/
You can’t perform that action at this time.
0 commit comments