Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ on: [push]
jobs:
tests:
name: Unit Tests
runs-on: macOS-latest
runs-on: macos-26
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: List available Xcode versions
run: ls /Applications | grep Xcode
- name: Set up Xcode version
run: sudo xcode-select -s /Applications/Xcode_26.5.app/Contents/Developer
- name: Show current version of Xcode
run: xcodebuild -version
- name: Run Unit Tests
run: |
swift test
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:6.1
// swift-tools-version:6.3

import PackageDescription

Expand Down
9 changes: 7 additions & 2 deletions Sources/SwiftTools/Build/Domain/BuildInteractor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,16 @@ final class BuildInteractorImpl: BuildInteractor {
preserveUnbeautifiedLines: true,
additionalLines: { nil }
)
let isVerbose = verboseController.isVerbose()

let output = OutputHandler(quiet: false, quieter: true, isCI: false) { line in
let output = OutputHandler(
quiet: false || isVerbose,
quieter: true || isVerbose,
isCI: false
) { line in
let normalizedLine = line.trimmingCharacters(in: .whitespacesAndNewlines)
if !normalizedLine.isEmpty {
if !normalizedLine.hasPrefix("Executed") && !normalizedLine.hasPrefix("Test Suite") {
if !normalizedLine.hasPrefix("Executed") && !normalizedLine.hasPrefix("Test Suite") || isVerbose {
print(line)
}
}
Expand Down