Skip to content

Commit

Permalink
update for pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeyuXuAudio committed Oct 21, 2024
1 parent 8b36021 commit a78cb7c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ jobs:
- name: Test with pytest
run: |
pip install -U pytest setuptools build wheel twine
pytest
ls -l deism/tests
pytest -v deism/tests
# Check the built package
- name: Check the package files
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ requires = ["setuptools", "wheel", "numpy>=1.13.0", "Cython", "pybind11>=2.2"]

build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
testpaths = [
"deism/tests" # Path to your test directory
]

[project]
name = "deism"
dynamic = ["version"]
Expand Down

0 comments on commit a78cb7c

Please sign in to comment.