Skip to content

Commit

Permalink
Add tox for testing with different Python versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamheins committed Aug 12, 2023
1 parent b93db23 commit 5abaaf6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,8 @@ problem. Currently known issues:
however.
* Ghost objects sometimes flicker (spooky, but undesirable).

## Development
* Run `tox` to run the tests.

## License
[MIT](https://github.com/adamheins/pyb_utils/blob/main/LICENSE)
10 changes: 10 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[tox]
isolated_build = True
skipsdist = True
envlist = py{38,39,310,311}

[testenv]
allowlist_externals = poetry
commands =
poetry install -v
poetry run pytest tests/ {posargs}

0 comments on commit 5abaaf6

Please sign in to comment.