Skip to content

Test plans for PR checks #1102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
17 changes: 15 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ jobs:
- run:
name: Run Unit Tests for Frameworks
command: scripts/testPrebidMobile.sh -l

unit-test-pr:
macos:
xcode: 15.4.0
resource_class: macos.m1.medium.gen1
steps:
- checkout
- run:
name: Run Quick Unit Tests for Frameworks
command: scripts/testPrebidMobile.sh -l -q

run-swift-demo-integration-tests:
macos:
Expand All @@ -46,9 +56,12 @@ workflows:
jobs:
- build:
name: Build PrebidMobile Frameworks
- unit-test:
name: Run Unit Tests for PrebidMobile Frameworks
- unit-test-pr:
name: Run Quick Unit Tests for PrebidMobile Frameworks
- run-swift-demo-integration-tests:
name: Run Intgration Tests - Swift Demo App
- run-swift-demo-ui-tests:
name: Run Smoke UI Tests - Swift Demo App
- unit-test:
name: Run All Unit Tests for PrebidMobile Frameworks
type: approval
3 changes: 2 additions & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ DEPENDENCIES:
- AppLovinSDK
- Eureka
- Google-Mobile-Ads-SDK
- Google-Mobile-Ads-SDK (<= 11.13.0)
- GoogleAds-IMA-iOS-SDK
- RxSwift
- SVProgressHUD
Expand All @@ -41,6 +42,6 @@ SPEC CHECKSUMS:
RxSwift: 4e28be97cbcfeee614af26d83415febbf2bf6f45
SVProgressHUD: 4837c74bdfe2e51e8821c397825996a8d7de6e22

PODFILE CHECKSUM: bae4436ed691a1d2217fde386d8881d6e7e06963
PODFILE CHECKSUM: df50580a1f6c422298edf0513ce00e759ea4668a

COCOAPODS: 1.16.2
6 changes: 6 additions & 0 deletions PrebidMobile.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
00334CA82D55EFED00770E4C /* PrebidMobilePRTests.xctestplan in Resources */ = {isa = PBXBuildFile; fileRef = 00334CA72D55EFED00770E4C /* PrebidMobilePRTests.xctestplan */; };
2A9DDDCC2C5BE190000EA4A0 /* PrebidEventDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2A9DDDCB2C5BE190000EA4A0 /* PrebidEventDelegate.swift */; };
2A9DDDD42C63665A000EA4A0 /* PBMEventDelegateHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2A9DDDD32C63665A000EA4A0 /* PBMEventDelegateHelper.swift */; };
2A9DDDD82C63A88C000EA4A0 /* PrebidEventDelegateTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2A9DDDD72C63A88C000EA4A0 /* PrebidEventDelegateTests.swift */; };
Expand Down Expand Up @@ -906,6 +907,8 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
00334CA62D55EFB600770E4C /* PrebidMobileTests.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = PrebidMobileTests.xctestplan; sourceTree = "<group>"; };
00334CA72D55EFED00770E4C /* PrebidMobilePRTests.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = PrebidMobilePRTests.xctestplan; sourceTree = "<group>"; };
2A9DDDCB2C5BE190000EA4A0 /* PrebidEventDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PrebidEventDelegate.swift; sourceTree = "<group>"; };
2A9DDDD32C63665A000EA4A0 /* PBMEventDelegateHelper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PBMEventDelegateHelper.swift; sourceTree = "<group>"; };
2A9DDDD72C63A88C000EA4A0 /* PrebidEventDelegateTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PrebidEventDelegateTests.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -3440,6 +3443,8 @@
FAEE4D8C262DC8CD00AD9966 /* PrebidMobileTests */ = {
isa = PBXGroup;
children = (
00334CA72D55EFED00770E4C /* PrebidMobilePRTests.xctestplan */,
00334CA62D55EFB600770E4C /* PrebidMobileTests.xctestplan */,
60C0382B2204BB190082B32C /* PrebidMobileTest-Bridging-Header.h */,
FA85F9B4264946FC00B8BE72 /* TestUtils.xcodeproj */,
9720387A235876F000F8025A /* NativeUnitTests */,
Expand Down Expand Up @@ -3838,6 +3843,7 @@
47D9AB0605423AD7ECF35D8F /* ACJEmptyChain.json in Resources */,
47D9AA4DBFA29A201C656487 /* 320x50.jpg in Resources */,
47D9AFCC0A845432C0CC1CD9 /* vast_om_verification_from_extension.xml in Resources */,
00334CA82D55EFED00770E4C /* PrebidMobilePRTests.xctestplan in Resources */,
47D9A9F4D3C7F1A2A1CA8315 /* vast_om_verification_one_inline_ad.xml in Resources */,
47D9A9AD524C2CDF5386FB65 /* VAST_Empty_Inline.xml in Resources */,
47D9A9E76C1B8F455B09F389 /* document_with_one_inline_ad.xml in Resources */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<TestPlans>
<TestPlanReference
reference = "container:PrebidMobileTests/PrebidMobileTests.xctestplan"
default = "YES">
</TestPlanReference>
<TestPlanReference
reference = "container:PrebidMobileTests/PrebidMobilePRTests.xctestplan">
</TestPlanReference>
</TestPlans>
<Testables>
<TestableReference
skipped = "NO"
Expand Down
Loading