Skip to content

Commit

Permalink
Merge pull request #329 from brainglobe/add-check-manifest-to-ci
Browse files Browse the repository at this point in the history
Add check manifest to ci
  • Loading branch information
alessandrofelder authored Feb 6, 2024
2 parents ec248ef + 9570742 commit 092fc19
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 8 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,14 @@ jobs:
steps:
- 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]
needs: [linting, manifest]
name: ${{ matrix.os }} py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ __pycache__
.ipynb_checkpoints
.pytest_cache/*
.pytest_cache/
__pycache__/*
__pycache__/**
__pycache__/
*/__pycache__
**/__pycache__
brainrender/atlas_specific/gene_expression/__pycache__
brainrender/atlas_specific/gene_expression/__pycache__/*
brainrender/atlas_specific/__pycache__
Expand Down
14 changes: 10 additions & 4 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
exclude .pre-commit-config.yaml

global-include *.svg

recursive-exclude tests *
recursive-exclude examples *
recursive-exclude imgs *
recursive-exclude videos *
prune tests
prune examples
prune imgs
prune videos

graft brainrender

global-exclude */__pycache__/*
Binary file not shown.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ include-package-data = true

[tool.setuptools.packages.find]
include = ["brainrender*"]
exclude = ["tests", "docs*"]
exclude = ["tests*", "docs*", "examples*", "imgs*"]


[tool.pytest.ini_options]
Expand Down

0 comments on commit 092fc19

Please sign in to comment.