Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Instead include sklearn in the matrix definition
  • Loading branch information
PGijsbers committed Feb 23, 2023
commit b547589364adf34dfeba53db8201405eda7af36e
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
python-version: [3.6, 3.7, 3.8]
scikit-learn: [0.21.2, 0.22.2, 0.23.1, 0.24]
os: [ubuntu-latest]
sklearn-only: [true]
exclude: # no scikit-learn 0.21.2 release for Python 3.8
- python-version: 3.8
scikit-learn: 0.21.2
Expand All @@ -28,9 +29,10 @@ jobs:
- python-version: 3.8
scikit-learn: 0.23.1
code-cov: true
sklearn-only: false
os: ubuntu-latest
all-tests: true
- os: windows-latest
sklearn-only: false
scikit-learn: 0.24.*
fail-fast: false
max-parallel: 4
Expand Down Expand Up @@ -64,7 +66,8 @@ jobs:
run: |
if [ ${{ matrix.code-cov }} ]; then codecov='--cov=openml --long --cov-report=xml'; fi
# Most of the time, running only the scikit-learn tests is sufficient
if [ ! ${{ matrix.all-tests }} ]; then sklearn='-m sklearn'; fi
if [ ${{ matrix.sklearn-only }} ]; then sklearn='-m sklearn'; fi
echo pytest -n 4 --durations=20 --timeout=600 --timeout-method=thread --dist load -sv $codecov $sklearn --reruns 5 --reruns-delay 1
pytest -n 4 --durations=20 --timeout=600 --timeout-method=thread --dist load -sv $codecov $sklearn --reruns 5 --reruns-delay 1
- name: Run tests on Windows
if: matrix.os == 'windows-latest'
Expand Down