Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
40 changes: 40 additions & 0 deletions .github/workflows/ci-manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Reference
# - https://github.com/actions/checkout

name: ci-manifest

on:
pull_request:
branches:
- "*"

push:
branches-ignore:
- "conda-lock-auto-update"
- "pre-commit-ci-update-config"
- "dependabot/*"

workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
manifest:
name: "check-manifest"

runs-on: ubuntu-latest

defaults:
run:
shell: bash -l {0}

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: "check-manifest"
run: |
pipx run check-manifest
15 changes: 12 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
include LICENSE
include README.md
include pyproject.toml
prune .github
exclude .cirrus.yml
exclude .coveragerc
exclude .flake8
exclude .gitignore
exclude .pre-commit-config.yaml
exclude CONTRIBUTING.md
exclude Dockerfile
exclude index.ipynb
include summary.png
recursive-include requirements *.yml *.lock
recursive-include stratify *.pyx
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ profile = "black"
skip_gitignore = "True"
verbose = "True"

[tool.check-manifest]
ignore = [
"stratify/_version.py",
"stratify/trace.cpp",
]

[tool.pytest.ini_options]
addopts = "-ra -v --doctest-modules"
testpaths = ["stratify/"]
testpaths = ["stratify/"]