Loading build-and-test-py-project-within-miniconda.sh +5 −0 Original line number Diff line number Diff line Loading @@ -29,8 +29,13 @@ if [ -d test ]; then rm -Rf if ! test -z "$TESTABLES"; then echo "TESTABLES: $TESTABLES" # Core dumps? Sure, we'll take them. ulimit -c unlimited # 10 GiB should be enough for just about anyone ulimit -m $(python -c 'print(1024*1024*10)') ${PY_EXE} -m pytest -rw --durations=10 --tb=native -rxs $TESTABLES # Avoid https://github.com/pytest-dev/pytest/issues/754: Loading build-and-test-py-project.sh +5 −0 Original line number Diff line number Diff line Loading @@ -27,8 +27,13 @@ if [ -d test ]; then if ! test -z "$TESTABLES"; then echo "TESTABLES: $TESTABLES" # Core dumps? Sure, we'll take them. ulimit -c unlimited # 10 GiB should be enough for just about anyone ulimit -m $(python -c 'print(1024*1024*10)') # Need to set both _TEST and _CTX because doctests do not use _TEST. ${PY_EXE} -m pytest -rw --durations=10 --tb=native --junitxml=pytest.xml -rxsw $TESTABLES fi Loading Loading
build-and-test-py-project-within-miniconda.sh +5 −0 Original line number Diff line number Diff line Loading @@ -29,8 +29,13 @@ if [ -d test ]; then rm -Rf if ! test -z "$TESTABLES"; then echo "TESTABLES: $TESTABLES" # Core dumps? Sure, we'll take them. ulimit -c unlimited # 10 GiB should be enough for just about anyone ulimit -m $(python -c 'print(1024*1024*10)') ${PY_EXE} -m pytest -rw --durations=10 --tb=native -rxs $TESTABLES # Avoid https://github.com/pytest-dev/pytest/issues/754: Loading
build-and-test-py-project.sh +5 −0 Original line number Diff line number Diff line Loading @@ -27,8 +27,13 @@ if [ -d test ]; then if ! test -z "$TESTABLES"; then echo "TESTABLES: $TESTABLES" # Core dumps? Sure, we'll take them. ulimit -c unlimited # 10 GiB should be enough for just about anyone ulimit -m $(python -c 'print(1024*1024*10)') # Need to set both _TEST and _CTX because doctests do not use _TEST. ${PY_EXE} -m pytest -rw --durations=10 --tb=native --junitxml=pytest.xml -rxsw $TESTABLES fi Loading