File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
Tests/SwiftSDKGeneratorTests Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 5
5
types : [opened, reopened, synchronize]
6
6
7
7
jobs :
8
- # tests:
9
- # name: Test
10
- # uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
11
- # with:
12
- # linux_pre_build_command: apt-get update && apt-get install -y locales locales-all libsqlite3-dev
8
+ tests :
9
+ name : Test
10
+ uses : swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
11
+ with :
12
+ linux_pre_build_command : apt-get update && apt-get install -y locales locales-all libsqlite3-dev
13
+ enable_windows_checks : false
13
14
soundness :
14
15
name : Soundness
15
16
uses : swiftlang/github-workflows/.github/workflows/soundness.yml@main
Original file line number Diff line number Diff line change @@ -121,7 +121,9 @@ final class RepeatedBuildTests: XCTestCase {
121
121
private let logger = Logger ( label: " swift-sdk-generator " )
122
122
123
123
func testRepeatedSDKBuilds( ) async throws {
124
- if ProcessInfo . processInfo. environment. keys. contains ( " JENKINS_URL " ) {
124
+ if ProcessInfo . processInfo. environment. keys. contains ( " JENKINS_URL " )
125
+ || ProcessInfo . processInfo. environment. keys. contains ( " GITHUB_ACTIONS " )
126
+ {
125
127
throw XCTSkip (
126
128
" EndToEnd tests cannot currently run in CI: https://github.com/swiftlang/swift-sdk-generator/issues/145 "
127
129
)
@@ -296,7 +298,9 @@ func buildTestcases(config: SDKConfiguration) async throws {
296
298
var logger = Logger ( label: " EndToEndTests " )
297
299
logger [ metadataKey: " testcase " ] = " testPackageInitExecutable "
298
300
299
- if ProcessInfo . processInfo. environment. keys. contains ( " JENKINS_URL " ) {
301
+ if ProcessInfo . processInfo. environment. keys. contains ( " JENKINS_URL " )
302
+ || ProcessInfo . processInfo. environment. keys. contains ( " GITHUB_ACTIONS " )
303
+ {
300
304
throw XCTSkip (
301
305
" EndToEnd tests cannot currently run in CI: https://github.com/swiftlang/swift-sdk-generator/issues/145 "
302
306
)
You can’t perform that action at this time.
0 commit comments