Skip to content

Commit a7427c6

Browse files
HGWrightbjlittle
andauthored
Adding a check-manifest GHA and updating dependent files (#57)
* Adding a check-manifest workflow and updating supporting files * Populating the ci-manifest.yml workflow file * updating MANIFEST.in file * Update MANIFEST.in Co-authored-by: Bill Little <[email protected]> --------- Co-authored-by: Bill Little <[email protected]> Co-authored-by: Bill Little <[email protected]>
1 parent 21e74ee commit a7427c6

File tree

3 files changed

+59
-4
lines changed

3 files changed

+59
-4
lines changed

.github/workflows/ci-manifest.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Reference
2+
# - https://github.com/actions/checkout
3+
4+
name: ci-manifest
5+
6+
on:
7+
pull_request:
8+
branches:
9+
- "*"
10+
11+
push:
12+
branches-ignore:
13+
- "conda-lock-auto-update"
14+
- "pre-commit-ci-update-config"
15+
- "dependabot/*"
16+
17+
workflow_dispatch:
18+
19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.ref }}
21+
cancel-in-progress: true
22+
23+
jobs:
24+
manifest:
25+
name: "check-manifest"
26+
27+
runs-on: ubuntu-latest
28+
29+
defaults:
30+
run:
31+
shell: bash -l {0}
32+
33+
steps:
34+
- uses: actions/checkout@v3
35+
with:
36+
fetch-depth: 0
37+
38+
- name: "check-manifest"
39+
run: |
40+
pipx run check-manifest

MANIFEST.in

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1-
include LICENSE
2-
include README.md
3-
include pyproject.toml
1+
prune .github
2+
exclude .cirrus.yml
3+
exclude .coveragerc
4+
exclude .flake8
5+
exclude .gitignore
6+
exclude .pre-commit-config.yaml
7+
exclude CONTRIBUTING.md
8+
exclude Dockerfile
9+
exclude index.ipynb
10+
include summary.png
11+
recursive-include requirements *.yml *.lock *.md
12+
recursive-include stratify *.pyx

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ profile = "black"
3939
skip_gitignore = "True"
4040
verbose = "True"
4141

42+
[tool.check-manifest]
43+
ignore = [
44+
"stratify/_version.py",
45+
"stratify/trace.cpp",
46+
]
47+
4248
[tool.pytest.ini_options]
4349
addopts = "-ra -v --doctest-modules"
44-
testpaths = ["stratify/"]
50+
testpaths = ["stratify/"]

0 commit comments

Comments
 (0)