Skip to content

Commit 5abaaf6

Browse files
committed
Add tox for testing with different Python versions.
1 parent b93db23 commit 5abaaf6

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,8 @@ problem. Currently known issues:
136136
however.
137137
* Ghost objects sometimes flicker (spooky, but undesirable).
138138

139+
## Development
140+
* Run `tox` to run the tests.
141+
139142
## License
140143
[MIT](https://github.com/adamheins/pyb_utils/blob/main/LICENSE)

tox.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[tox]
2+
isolated_build = True
3+
skipsdist = True
4+
envlist = py{38,39,310,311}
5+
6+
[testenv]
7+
allowlist_externals = poetry
8+
commands =
9+
poetry install -v
10+
poetry run pytest tests/ {posargs}

0 commit comments

Comments
 (0)