Skip to content

[Valet 4.0] Attempt to run mac unit tests in a signed host app in CI#195

Closed
dfed wants to merge 8 commits intodfed--simplify-ci-v4from
dfed--run-signed-tests-on-mac
Closed

[Valet 4.0] Attempt to run mac unit tests in a signed host app in CI#195
dfed wants to merge 8 commits intodfed--simplify-ci-v4from
dfed--run-signed-tests-on-mac

Conversation

@dfed
Copy link
Copy Markdown
Collaborator

@dfed dfed commented Dec 23, 2019

We'll see if CI passes. I try this every year. But maybe with Xcode 11 it'll finally work. Let's see what CI says.

Built on top of #190.

static let identifier = Identifier(nonEmpty: "valet_testing")!
let valet = Valet.valet(with: identifier, accessibility: .whenUnlocked)

// FIXME: Need a different flavor (Synchronizable can't be tested on Mac currently
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these FIXMEs are invalid if CI passes 😬

@dfed dfed force-pushed the dfed--simplify-ci-v4 branch from f087d9e to e9848e0 Compare December 23, 2019 20:07
@dfed dfed force-pushed the dfed--run-signed-tests-on-mac branch from 2d78329 to b2015a0 Compare December 23, 2019 20:11
@dfed dfed force-pushed the dfed--run-signed-tests-on-mac branch from b2015a0 to fc87fe2 Compare December 23, 2019 20:16
@dfed
Copy link
Copy Markdown
Collaborator Author

dfed commented Dec 23, 2019

Okay, once again this is a fail.

Testing failed:
Valet macOS Test Host App:
There are no accounts registered with Xcode. Add your developer account to Xcode
No signing certificate "Mac Development" found: No "Mac Development" signing certificate matching team ID "9XUJ7M53NG" with a private key was found.
Provisioning profile "Mac Team Provisioning Profile: com.squareup.Valet-macOS-Test-Host-App" doesn't include the currently selected device "Travis’s Mac".
Testing cancelled because the build failed.

If we had a paid developer account, I think we could follow these instructions to get things working.

@dfed dfed closed this Dec 23, 2019
@dfed dfed deleted the dfed--run-signed-tests-on-mac branch December 23, 2019 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant