Skip to content

Commit

Permalink
Try to fix macOS another way.
Browse files Browse the repository at this point in the history
  • Loading branch information
itamarst committed Feb 22, 2022
1 parent 52f0e18 commit 5647b4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 5647b4a

Please sign in to comment.