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
11 changes: 6 additions & 5 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ on:
types: [opened, reopened, synchronize]

jobs:
# tests:
# 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
tests:
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
enable_windows_checks: false
soundness:
name: Soundness
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
Expand Down
8 changes: 6 additions & 2 deletions Tests/SwiftSDKGeneratorTests/EndToEndTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ final class RepeatedBuildTests: XCTestCase {
private let logger = Logger(label: "swift-sdk-generator")

func testRepeatedSDKBuilds() async throws {
if ProcessInfo.processInfo.environment.keys.contains("JENKINS_URL") {
if ProcessInfo.processInfo.environment.keys.contains("JENKINS_URL")
|| ProcessInfo.processInfo.environment.keys.contains("GITHUB_ACTIONS")
{
throw XCTSkip(
"EndToEnd tests cannot currently run in CI: https://github.com/swiftlang/swift-sdk-generator/issues/145"
)
Expand Down Expand Up @@ -296,7 +298,9 @@ func buildTestcases(config: SDKConfiguration) async throws {
var logger = Logger(label: "EndToEndTests")
logger[metadataKey: "testcase"] = "testPackageInitExecutable"

if ProcessInfo.processInfo.environment.keys.contains("JENKINS_URL") {
if ProcessInfo.processInfo.environment.keys.contains("JENKINS_URL")
|| ProcessInfo.processInfo.environment.keys.contains("GITHUB_ACTIONS")
{
throw XCTSkip(
"EndToEnd tests cannot currently run in CI: https://github.com/swiftlang/swift-sdk-generator/issues/145"
)
Expand Down