Fix target in test workflow
This commit is contained in:
parent
1543eef3c1
commit
0ff831f021
|
@ -68,7 +68,7 @@ jobs:
|
||||||
bundle exec fastlane --env ${{ matrix.platform }} match development
|
bundle exec fastlane --env ${{ matrix.platform }} match development
|
||||||
# - name: Run tests
|
# - name: Run tests
|
||||||
# run: |
|
# run: |
|
||||||
# cd PassepartoutCore
|
# cd PassepartoutLibrary
|
||||||
# swift test
|
# swift test
|
||||||
- name: Build ${{ matrix.name }} app
|
- name: Build ${{ matrix.name }} app
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
|
|
|
@ -26,5 +26,5 @@ jobs:
|
||||||
xcode-version: latest-stable
|
xcode-version: latest-stable
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
cd PassepartoutCore
|
cd PassepartoutLibrary
|
||||||
swift test
|
swift test
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
import XCTest
|
import XCTest
|
||||||
|
import PassepartoutCore
|
||||||
@testable import PassepartoutProfiles
|
@testable import PassepartoutProfiles
|
||||||
import SwiftyBeaver
|
import SwiftyBeaver
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
import XCTest
|
import XCTest
|
||||||
import CoreData
|
import CoreData
|
||||||
import Combine
|
import Combine
|
||||||
|
import PassepartoutCore
|
||||||
@testable import PassepartoutProviders
|
@testable import PassepartoutProviders
|
||||||
import PassepartoutServices
|
import PassepartoutServices
|
||||||
import PassepartoutUtils
|
import PassepartoutUtils
|
||||||
|
@ -44,7 +45,7 @@ class ProvidersTests: XCTestCase {
|
||||||
override func setUp() {
|
override func setUp() {
|
||||||
pp_log.addDestination(ConsoleDestination())
|
pp_log.addDestination(ConsoleDestination())
|
||||||
|
|
||||||
manager = ProviderManager(
|
manager = DefaultProviderManager(
|
||||||
appBuild: 10000,
|
appBuild: 10000,
|
||||||
bundleServices: DefaultWebServices.bundledServices(withVersion: "v5"),
|
bundleServices: DefaultWebServices.bundledServices(withVersion: "v5"),
|
||||||
webServices: DefaultWebServices("v5", URL(string: "https://passepartoutvpn.app/api/")!, timeout: nil),
|
webServices: DefaultWebServices("v5", URL(string: "https://passepartoutvpn.app/api/")!, timeout: nil),
|
||||||
|
|
Loading…
Reference in New Issue