mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-23 00:34:27 +01:00
Remove || true to force macos setup to complete successfully
This commit is contained in:
parent
4c2e49885f
commit
9dafa40872
8
.github/workflows/go-test.yml
vendored
8
.github/workflows/go-test.yml
vendored
@ -43,15 +43,15 @@ jobs:
|
||||
run: |
|
||||
|
||||
# Install our dependencies
|
||||
brew install fish tmux bash || true
|
||||
brew install fish tmux bash
|
||||
|
||||
# Set a consistent hostname so we can run tests that depend on it
|
||||
sudo scutil --set HostName ghaction-runner-hostname || true
|
||||
sudo scutil --set HostName ghaction-runner-hostname
|
||||
|
||||
# Set up a tmpfs for ~/.hishtory/ to help tests run faster
|
||||
mkdir ~/.hishtory/
|
||||
sudo diskutil apfs create $(sudo hdiutil attach -nomount ram://1024000) RAMDisk || true
|
||||
sudo mount -o noatime -t apfs /Volumes/RAMDisk ~/.hishtory/ || true
|
||||
sudo diskutil apfs create $(sudo hdiutil attach -nomount ram://1024000) RAMDisk
|
||||
sudo mount -o noatime -t apfs /Volumes/RAMDisk ~/.hishtory/
|
||||
- name: Go test
|
||||
if: ${{ !startsWith(github.event.head_commit.message, 'Release') }}
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user