Repository: brainglobe/cellfinder-core (language: python)

Issue:
exclude tests and benchmarks from distributed package



Discussion / hints:

Fix patch:
diff --git a/MANIFEST.in b/MANIFEST.in
index aaf57952..995fdf64 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,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


Test patch:
diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml
index 8ec68cfb..d6497728 100644
--- a/.github/workflows/test_and_deploy.yml
+++ b/.github/workflows/test_and_deploy.yml
@@ -12,9 +12,16 @@ jobs:
   linting:
     runs-on: ubuntu-latest
     steps:
-      - uses: neuroinformatics-unit/actions/lint@v1.2.0
+      - 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:
@@ -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: