File tree Expand file tree Collapse file tree
lib/fastlane/plugin/ddg_apple_automation/actions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ class TdsPerfTestAction < Action
1313 ut_file_name : "ios-tds.json" ,
1414 ut_url : "https://staticcdn.duckduckgo.com/trackerblocking/v5/current/ios-tds.json" ,
1515 ref_file_name : "trackerData.json" ,
16- ref_url : "https://github. com/duckduckgo/apple-browsers/tree/ main/iOS/Core"
16+ ref_url : "https://raw.githubusercontent. com/duckduckgo/apple-browsers/refs/heads/ main/iOS/Core/ "
1717 } . freeze
1818
1919 MAC_TEST_PARAMS = {
2020 ut_file_name : "macos-tds.json" ,
2121 ut_url : "https://staticcdn.duckduckgo.com/trackerblocking/v6/current/" ,
2222 ref_file_name : "trackerData.json" ,
23- ref_url : "https://github. com/duckduckgo/apple-browsers/tree/ main/macOS/DuckDuckGo/ContentBlocker"
23+ ref_url : "https://raw.githubusercontent. com/duckduckgo/apple-browsers/refs/heads/ main/macOS/DuckDuckGo/ContentBlocker/ "
2424 } . freeze
2525
2626 def self . run ( params )
@@ -55,6 +55,14 @@ def self.run(params)
5555
5656 # Navigate to cloned repository
5757 Dir . chdir ( "TrackerRadarKit" ) do
58+ # Build for testing
59+ begin
60+ Actions . sh ( "xcodebuild build-for-testing -scheme TrackerRadarKit -destination 'platform=macOS'" )
61+ rescue StandardError => e
62+ UI . error ( "Failed to build for testing: #{ e } " )
63+ false
64+ end
65+
5866 # Set environment variables and run test
5967 test_command = [
6068 "env" ,
You can’t perform that action at this time.
0 commit comments