From 2effbffe95193ef0bcb44a63ec1bc552d21d80d7 Mon Sep 17 00:00:00 2001 From: Kishikawa Katsumi Date: Thu, 28 Nov 2024 18:49:02 +0900 Subject: [PATCH] Fix CI --- .github/workflows/test.yml | 9 +++++++-- Tests/SMBClientTests/SMBClientTests.swift | 1 - 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f363fe2..541e363 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/Tests/SMBClientTests/SMBClientTests.swift b/Tests/SMBClientTests/SMBClientTests.swift index 800e38e..70f7905 100644 --- a/Tests/SMBClientTests/SMBClientTests.swift +++ b/Tests/SMBClientTests/SMBClientTests.swift @@ -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)