Skip to content

Commit

Permalink
vbghnj
Browse files Browse the repository at this point in the history
  • Loading branch information
hmpf committed Feb 20, 2024
1 parent 6ba11d3 commit e8be647
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,15 @@ passenv =
PGPASSWORD
WORKSPACE
DISPLAY
PATH
allowlist_externals =
sh
sed
mkdir
chmod
pwd
ls
echo
ls
which

usedevelop = true
commands_pre =
Expand All @@ -71,7 +72,9 @@ commands_pre =
commands =
{unit,integration,functional}: pwd
{unit,integration,functional}: ls
{unit,integration,functional}: which python3
{unit,integration,functional}: python3 -c "import sys; print('PYTHONPATH:', sys.path)"
{unit,integration,functional}: python3 -c "import os; print('PATH:', os.environ.get('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}

Expand Down

0 comments on commit e8be647

Please sign in to comment.