Skip to content

Commit c216ede

Browse files
committed
Skip tests which fail in the GitHub actions runner environment
1 parent f0af94b commit c216ede

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Tests/SwiftBuildTests/ConsoleCommands/BuildCommandTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import SWBUtil
1717
import Testing
1818
import SwiftBuildTestSupport
1919

20-
@Suite(.skipHostOS(.windows))
20+
@Suite(.skipHostOS(.windows), .skipInGitHubActions("failing in the GitHub actions runner environment"))
2121
fileprivate struct BuildCommandTests {
2222
private let commandSequenceCodec: any CommandSequenceEncodable = LLVMStyleCommandCodec()
2323

Tests/SwiftBuildTests/ConsoleCommands/CreateXCFrameworkCommandTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import SWBTestSupport
1717

1818
// Note: The functionality of this class is heavily unit tested in `XCFrameworkTests.swift`. These tests are only to ensure that the command is indeed hooked up and registered properly.
1919

20-
@Suite
20+
@Suite(.skipInGitHubActions("failing in the GitHub actions runner environment"))
2121
fileprivate struct CreateXCFrameworkCommandTests {
2222
@Test
2323
func commandInvocation() async throws {

Tests/SwiftBuildTests/ConsoleCommands/GeneralCommandsTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import SwiftBuild
1515
import SWBTestSupport
1616
import SWBUtil
1717

18-
@Suite
18+
@Suite(.skipInGitHubActions("failing in the GitHub actions runner environment"))
1919
fileprivate struct GeneralCommandsTests {
2020
@Test(.skipHostOS(.windows), // PTY not supported on Windows
2121
.requireHostOS(.macOS)) // something with terminal echo is different on macOS vs Linux

Tests/SwiftBuildTests/ConsoleCommands/ServiceConsoleTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import SWBUtil
1919
import WinSDK
2020
#endif
2121

22-
@Suite
22+
@Suite(.skipInGitHubActions("failing in the GitHub actions runner environment"))
2323
fileprivate struct ServiceConsoleTests {
2424
@Test
2525
func emptyInput() async throws {

Tests/SwiftBuildTests/ConsoleCommands/SessionCommandsTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import SWBTestSupport
1414
import Testing
1515
import SWBUtil
1616

17-
@Suite
17+
@Suite(.skipInGitHubActions("failing in the GitHub actions runner environment"))
1818
fileprivate struct SessionCommandsTests {
1919
@Test(.skipHostOS(.windows), // PTY not supported on Windows
2020
.requireHostOS(.macOS)) // something with terminal echo is different on macOS vs Linux

Tests/SwiftBuildTests/ConsoleCommands/XcodeCommandsTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import SWBTestSupport
1414
import Testing
1515
import SWBUtil
1616

17-
@Suite
17+
@Suite(.skipInGitHubActions("failing in the GitHub actions runner environment"))
1818
fileprivate struct XcodeCommandsTests {
1919
@Test(.skipHostOS(.windows), // PTY not supported on Windows
2020
.requireHostOS(.macOS)) // something with terminal echo is different on macOS vs Linux

0 commit comments

Comments
 (0)