From 44cda749bb7a420d50ab30278ebed3da4495c50d Mon Sep 17 00:00:00 2001 From: Euan Harris Date: Mon, 10 Mar 2025 12:09:59 +0000 Subject: [PATCH] workflows: Enable end-to-end tests in CI --- .github/workflows/pull_request.yml | 2 +- Tests/SwiftSDKGeneratorTests/EndToEndTests.swift | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index fff448d..7524846 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -9,7 +9,7 @@ jobs: name: Test uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main with: - linux_pre_build_command: apt-get update && apt-get install -y locales locales-all libsqlite3-dev + linux_pre_build_command: apt-get update && apt-get install -y locales locales-all libsqlite3-dev docker enable_windows_checks: false soundness: name: Soundness diff --git a/Tests/SwiftSDKGeneratorTests/EndToEndTests.swift b/Tests/SwiftSDKGeneratorTests/EndToEndTests.swift index e18f543..5990367 100644 --- a/Tests/SwiftSDKGeneratorTests/EndToEndTests.swift +++ b/Tests/SwiftSDKGeneratorTests/EndToEndTests.swift @@ -121,9 +121,7 @@ final class RepeatedBuildTests: XCTestCase { private let logger = Logger(label: "swift-sdk-generator") func testRepeatedSDKBuilds() async throws { - if ProcessInfo.processInfo.environment.keys.contains("JENKINS_URL") - || ProcessInfo.processInfo.environment.keys.contains("GITHUB_ACTIONS") - { + if ProcessInfo.processInfo.environment.keys.contains("JENKINS_URL") { throw XCTSkip( "EndToEnd tests cannot currently run in CI: https://github.com/swiftlang/swift-sdk-generator/issues/145" )