Skip to content

Commit

Permalink
Fix tox
Browse files Browse the repository at this point in the history
  • Loading branch information
ozekik committed Mar 20, 2020
1 parent e284fe0 commit e93a02b
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
20 changes: 19 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ python = "^3.6"
[tool.poetry.dev-dependencies]
tox = "^3.14.5"
maturin = "^0.7.9"
tox-gh-actions = "^1.1.0"

[build-system]
requires = ["maturin"]
Expand Down
15 changes: 10 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,19 @@ envlist = py36,py37,py38
skip_missing_interpreters = true
isolated_build = true

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38

[testenv]
passenv = PYTHONPATH
deps =
pytest >= 5.0
tox-pyo3
pytest ~= 5.0
tox-pyo3 ~= 1.0.0
commands =
poetry install
poetry run pytest --cache-clear tests/ {posargs}
poetry run pytest --cache-clear tests/
pyo3 = true
whitelist_externals = poetry
# skip_install = true
skip_install = true

0 comments on commit e93a02b

Please sign in to comment.