Skip to content

Commit

Permalink
Debug tox environment
Browse files Browse the repository at this point in the history
  • Loading branch information
hmpf committed Nov 21, 2023
1 parent f32ea1f commit ba8d9ee
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 @@ -58,13 +58,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(':'.join(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 ba8d9ee

Please sign in to comment.