Skip to content

Commit

Permalink
🔧 configure tests paths in pyproject.toml (Cloud-Drift#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsantana11 authored May 10, 2024
1 parent 5ba4604 commit 83945ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
cartopy
- name: Run unit tests
shell: bash -l {0}
run: coverage run -m pytest tests/*_tests.py tests/adapters/*_tests.py
run: coverage run -m pytest -c pyproject.toml
- name: Display report
shell: bash -l {0}
run: coverage report
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ files = [
"tests/**/*.py",
]

[tool.pytest.ini_options]
testpaths = ["tests/*_tests.py", "tests/adapters/*_tests.py"]


[[tool.mypy.overrides]]
module = [
"clouddrift.kinematics",
Expand Down

0 comments on commit 83945ac

Please sign in to comment.