Skip to content

Commit

Permalink
MAINT Removes short summary for most builds (scikit-learn#21554)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjpfan authored Nov 6, 2021
1 parent 9a0592f commit 48e83df
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ jobs:
PYTHON_VERSION: '*'
BLAS: 'mkl'
COVERAGE: 'true'
SHOW_SHORT_SUMMARY: 'true'

# Check compilation with Ubuntu bionic 18.04 LTS and scipy from conda-forge
- template: build_tools/azure/posix.yml
Expand Down
1 change: 1 addition & 0 deletions build_tools/azure/posix-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
# Set in azure-pipelines.yml
DISTRIB: ''
DOCKER_CONTAINER: ''
SHOW_SHORT_SUMMARY: 'false'
strategy:
matrix:
${{ insert }}: ${{ parameters.matrix }}
Expand Down
1 change: 1 addition & 0 deletions build_tools/azure/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
THREADPOOLCTL_VERSION: 'latest'
COVERAGE: 'true'
TEST_DOCSTRINGS: 'false'
SHOW_SHORT_SUMMARY: 'false'
strategy:
matrix:
${{ insert }}: ${{ parameters.matrix }}
Expand Down
4 changes: 4 additions & 0 deletions build_tools/azure/test_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ if [[ "$PYTEST_XDIST_VERSION" != "none" ]]; then
TEST_CMD="$TEST_CMD -n2"
fi

if [[ "$SHOW_SHORT_SUMMARY" == "true" ]]; then
TEST_CMD="$TEST_CMD -ra"
fi

set -x
eval "$TEST_CMD --pyargs sklearn"
set +x
1 change: 1 addition & 0 deletions build_tools/azure/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
PYTEST_XDIST: 'true'
PYTEST_XDIST_VERSION: 'latest'
TEST_DIR: '$(Agent.WorkFolder)/tmp_folder'
SHOW_SHORT_SUMMARY: 'false'
strategy:
matrix:
${{ insert }}: ${{ parameters.matrix }}
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ addopts =
--doctest-modules
--disable-pytest-warnings
--color=yes
-rxXs
-rN

filterwarnings =
ignore:the matrix subclass:PendingDeprecationWarning
Expand Down

0 comments on commit 48e83df

Please sign in to comment.