Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use explicit package list and ensure it is tested in CI #232

Merged
merged 2 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
3 changes: 1 addition & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .
python -m pip install pytest pytest-cov numpy
python -m pip install .[arrays,test]
- name: Test source code and docs
run: |
pytest --cov . --cov-report xml
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ classifiers = [
]
dependencies = []

[tool.setuptools.packages.find]
include = ["uncertainties", "uncertainties.unumpy"]
exclude = ["doc", "test"]
[tool.setuptools]
packages = ["uncertainties", "uncertainties.unumpy"]

[project.urls]
Documentation = "http://uncertainties-python-package.readthedocs.io/"
Expand Down
Loading