Skip to content

Commit

Permalink
Debug tox environment
Browse files Browse the repository at this point in the history
  • Loading branch information
hmpf committed Feb 29, 2024
1 parent fed1c60 commit 3596a23
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,20 @@ allowlist_externals =
sed
mkdir
chmod
pwd
ls
echo

usedevelop = true
commands_pre =
mkdir -p {toxinidir}/reports/coverage
chmod 777 {toxinidir}/reports/coverage

commands =
{unit,integration,functional}: pwd
{unit,integration,functional}: ls
{unit,integration,functional}: python3 -c "import sys; print('PYTHONPATH:', sys.path)"

unit: pytest -o junit_suite_name="{envname} unit tests" --cov-config {toxinidir}/tests/.coveragerc --cov={toxinidir}/python --cov-report=xml:reports/{envname}/coverage.xml --junitxml=reports/{envname}/unit-results.xml --verbose {posargs:tests/unittests}

{integration,functional}: python setup.py build_sass
Expand Down

0 comments on commit 3596a23

Please sign in to comment.