Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT Try coverage config specify pyproject.toml #285

Merged
merged 2 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,8 @@ jobs:
run: |
./spin --help
./spin coverage
# pytest -k . --tb=short --cov=sktree --cov-report xml --color=yes
# python -m pytest -k . -o 'python_functions=test_*' sktree --cov=sktree --cov-report=xml
# pytest -k . --cov=sktree --cov-report xml --color=yes
cp $PWD/build-install/usr/lib/python${{matrix.python-version}}/site-packages/coverage.xml ./coverage.xml
ls .
# cp $PWD/build-install/usr/lib/python${{matrix.python-version}}/site-packages/coverage.xml ./coverage.xml

- name: Upload coverage stats to codecov
uses: codecov/codecov-action@v4
Expand Down
2 changes: 2 additions & 0 deletions .spin/cmds.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def coverage(ctx, slowtest=True):
"sktree",
"--cov=sktree",
"--cov-report=xml",
"--cov-config=pyproject.toml",
"-k .",
)
else:
Expand All @@ -32,6 +33,7 @@ def coverage(ctx, slowtest=True):
"sktree",
"--cov=sktree",
"--cov-report=xml",
"--cov-config=pyproject.toml",
)

# The spin `build` command doesn't know anything about `custom_arg`,
Expand Down
2 changes: 1 addition & 1 deletion sktree/_lib/sklearn_fork
Submodule sklearn_fork updated 38 files
+1 −1 .github/workflows/check-changelog.yml
+1 −1 .github/workflows/check-sdist.yml
+5 −3 .github/workflows/cuda-gpu-ci.yml
+1 −1 .github/workflows/labeler-title-regex.yml
+4 −4 .github/workflows/lint.yml
+1 −1 .github/workflows/publish_pypi.yml
+1 −1 .github/workflows/update-lock-files.yml
+1 −1 .github/workflows/update_tracking_issue.yml
+11 −7 .github/workflows/wheels.yml
+9 −23 azure-pipelines.yml
+39 −0 build_tools/azure/cpython_free_threaded_lock.txt
+17 −0 build_tools/azure/cpython_free_threaded_requirements.txt
+1 −1 build_tools/azure/debian_atlas_32bit_lock.txt
+24 −11 build_tools/azure/install.sh
+7 −7 build_tools/azure/pylatest_conda_forge_mkl_linux-64_conda.lock
+6 −6 build_tools/azure/pylatest_conda_forge_mkl_osx-64_conda.lock
+1 −1 build_tools/azure/pylatest_conda_mkl_no_openmp_osx-64_conda.lock
+1 −1 build_tools/azure/pylatest_pip_openblas_pandas_linux-64_conda.lock
+2 −2 build_tools/azure/pylatest_pip_scipy_dev_linux-64_conda.lock
+1 −1 build_tools/azure/pymin_conda_defaults_openblas_linux-64_conda.lock
+6 −6 build_tools/azure/pymin_conda_forge_mkl_win-64_conda.lock
+7 −7 build_tools/azure/pymin_conda_forge_openblas_ubuntu_2204_linux-64_conda.lock
+0 −73 build_tools/azure/python_nogil_lock.txt
+0 −20 build_tools/azure/python_nogil_requirements.txt
+1 −1 build_tools/azure/test_docs.sh
+1 −1 build_tools/azure/ubuntu_atlas_lock.txt
+17 −17 build_tools/circle/doc_linux-64_conda.lock
+14 −14 build_tools/circle/doc_min_dependencies_linux-64_conda.lock
+4 −4 build_tools/cirrus/pymin_conda_forge_linux-aarch64_conda.lock
+22 −22 build_tools/github/pylatest_conda_forge_cuda_array-api_linux-64_conda.lock
+1 −1 build_tools/shared.sh
+1 −1 doc/developers/contributing.rst
+1 −1 doc/metadata_routing.rst
+5 −0 doc/whats_new/v1.6.rst
+74 −19 sklearn/compose/_target.py
+3 −0 sklearn/neighbors/_nearest_centroid.py
+8 −1 sklearn/tests/test_metaestimators_metadata_routing.py
+2 −9 sklearn/tree/_tree.pyx
Loading