Try to fix macOS another way.

This commit is contained in:
Itamar Turner-Trauring 2022-02-22 11:40:16 -05:00
parent 52f0e18d6b
commit 5647b4aee0
2 changed files with 5 additions and 2 deletions

View File

@ -216,6 +216,11 @@ jobs:
run: python misc/build_helpers/show-tool-versions.py
- name: Run "Python 3 integration tests"
env:
# On macOS this is necessary to ensure unix socket paths for tor
# aren't too long. On Windows tox won't pass it through so it has no
# effect. On Linux it doesn't make a difference one way or another.
TMPDIR: "/tmp"
run: tox -e integration
- name: Upload eliot.log in case of failure

View File

@ -92,8 +92,6 @@ platform = mylinux: linux
mywindows: win32
setenv =
COVERAGE_PROCESS_START=.coveragerc
# Without this, temporary file paths are too long on macOS, breaking tor
mymacos: TMPDIR=/tmp
commands =
# NOTE: 'run with "py.test --keep-tempdir -s -v integration/" to debug failures'
py.test --timeout=1800 --coverage -v {posargs:integration}