Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
MANIFEST only necessary files for package install (#195)
Browse files Browse the repository at this point in the history
* MANIFEST only necessary files for package install

* Add MANIFEST check to CI

* Obey check-manifest overlords
  • Loading branch information
willGraham01 authored Jul 7, 2023
1 parent 6e3864a commit a8b8992
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,16 @@ jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: neuroinformatics-unit/actions/[email protected]
- uses: neuroinformatics-unit/actions/lint@v2

manifest:
name: Check Manifest
runs-on: ubuntu-latest
steps:
- uses: neuroinformatics-unit/actions/check_manifest@v2

test:
needs: [linting, manifest]
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -42,6 +49,7 @@ jobs:
# Run cellfinder tests to make sure cellfinder is still compatible
# with cellfinder-core
test_cellfinder:
needs: [linting, manifest]
name: Run cellfinder tests
runs-on: ubuntu-latest
steps:
Expand Down
14 changes: 13 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
prune tests/data
include README.md
include LICENSE
include pyproject.toml

exclude *.yml
exclude *.yaml
exclude tox.ini
exclude CHANGELOG.md

graft src

prune benchmarks
prune tests

0 comments on commit a8b8992

Please sign in to comment.