Set a consistent hostname for mac runners too

This commit is contained in:
David Dworken 2022-11-01 14:33:07 -07:00
parent 1b460adb31
commit 3485d4028b
No known key found for this signature in database

View File

@ -29,5 +29,6 @@ jobs:
brew install fish tmux bash || true brew install fish tmux bash || true
export TZ='America/Los_Angeles' # Force the time zone so that test output is consistent export TZ='America/Los_Angeles' # Force the time zone so that test output is consistent
sudo chmod 0755 -R /usr/share/zsh/ || true # Work around a weird bug where zsh on ubuntu actiosn gives that diretory 0777 which makes zsh refuse to start sudo chmod 0755 -R /usr/share/zsh/ || true # Work around a weird bug where zsh on ubuntu actiosn gives that diretory 0777 which makes zsh refuse to start
sudo hostname ghaction-runner-hostname # Set a consistent hostname so we can run tests that depend on it sudo hostname ghaction-runner-hostname || true # Set a consistent hostname so we can run tests that depend on it
sudo scutil --set HostName ghaction-runner-hostname
make test make test