Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename configuration option removed in tox 4.0 #190

Merged
merged 2 commits into from
Dec 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ test_dir = tests

[testenv]
commands = {envpython} setup.py nosetests []
whitelist_externals = bash
allowlist_externals = bash

[testenv:py37-lint]
commands = flake8 {[tox]source_dir} {[tox]test_dir}
Expand All @@ -23,14 +23,15 @@ deps =
coverage
codacy-coverage
docker
whitelist_externals = sed
bash
allowlist_externals =
sed
bash
commands =
pytest -v --cov={envsitepackagesdir}/ephemeris --cov-report xml {[tox]test_dir}
# Replace the installed package directory by the source directory.
# This is needed for codacy to understand which files have coverage testing
# Unfortunately this has to run in the tox env to have access to envsitepackagesdir
sed -i 's#{envsitepackagesdir}#src#' coverage.xml
sed -i 's|{envsitepackagesdir}|src|' coverage.xml

[testenv:py37]
deps =
Expand Down