Skip to content

Commit 3c62364

Browse files
authored
MAINT add manifest check in circle ci config (scikit-learn#18128)
1 parent ec02cc9 commit 3c62364

File tree

3 files changed

+52
-0
lines changed

3 files changed

+52
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "Check Manifest"
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
jobs:
8+
check:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-python@v2
13+
with:
14+
python-version: '3.8'
15+
- name: Install dependencies
16+
# scipy and cython are required to build sdist
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install check-manifest scipy cython
20+
- run: |
21+
check-manifest -v

MANIFEST.in

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,27 @@ recursive-include sklearn/datasets *.csv *.csv.gz *.rst *.jpg *.txt *.arff.gz *.
66
include COPYING
77
include README.rst
88
include pyproject.toml
9+
include sklearn/externals/README
10+
include sklearn/svm/src/liblinear/COPYRIGHT
11+
include sklearn/svm/src/libsvm/LIBSVM_CHANGES
12+
include conftest.py
13+
include Makefile
14+
include MANIFEST.in
15+
include .coveragerc
16+
17+
# exclude from sdist
18+
recursive-exclude asv_benchmarks *
19+
recursive-exclude benchmarks *
20+
recursive-exclude build_tools *
21+
recursive-exclude maint_tools *
22+
recursive-exclude benchmarks *
23+
recursive-exclude .binder *
24+
recursive-exclude .circleci *
25+
exclude .codecov.yml
26+
exclude .mailmap
27+
exclude .pre-commit-config.yaml
28+
exclude azure-pipelines.yml
29+
exclude lgtm.yml
30+
exclude CODE_OF_CONDUCT.md
31+
exclude CONTRIBUTING.md
32+
exclude PULL_REQUEST_TEMPLATE.md

setup.cfg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,10 @@ ignore=E121,E123,E126,E226,E24,E704,W503,W504
3232
[mypy]
3333
ignore_missing_imports = True
3434
allow_redefinition = True
35+
36+
[check-manifest]
37+
# ignore files missing in VCS
38+
ignore =
39+
sklearn/linear_model/_sag_fast.pyx
40+
sklearn/utils/_seq_dataset.pxd
41+
sklearn/utils/_seq_dataset.pyx

0 commit comments

Comments
 (0)