Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kishikawakatsumi committed Nov 28, 2024
1 parent 349c02e commit 2effbff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ jobs:
- name: Test
run: |
set -ex
brew install docker docker-compose colima
brew update
brew install docker docker-compose qemu colima
# specifically install an outdated version of lima - 0.23.2 as with 1.0.1 there are network connectivity issues
brew uninstall --ignore-dependencies lima
curl https://raw.githubusercontent.com/Homebrew/homebrew-core/45464b6c4788a80be3f131ab5e2a4468cdfa960c/Formula/l/lima.rb > lima.rb
brew install lima.rb
LIMACTL_PATH=$(brew --prefix)/bin/limactl
sudo curl -L -o $LIMACTL_PATH https://github.com/mikekazakov/lima-nohvf/raw/master/limactl && sudo chmod +x $LIMACTL_PATH
colima start --network-address --arch arm64 --vm-type=qemu
Expand Down
1 change: 0 additions & 1 deletion Tests/SMBClientTests/SMBClientTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,6 @@ final class SMBClientTests: XCTestCase {

let fileManager = FileManager()
let tempFolder = URL(fileURLWithPath: NSTemporaryDirectory(), isDirectory: true)
print(tempFolder)
let destinationFile = tempFolder.appending(path: "downloadedfile.mp4", directoryHint: .notDirectory)

try Data().write(to: destinationFile)
Expand Down

0 comments on commit 2effbff

Please sign in to comment.