diff --git a/.github/workflows/tdsCompilation.yml b/.github/workflows/tdsCompilation.yml index 41c3fbd..b69cb62 100644 --- a/.github/workflows/tdsCompilation.yml +++ b/.github/workflows/tdsCompilation.yml @@ -29,9 +29,9 @@ jobs: - name: Run performance test (iOS) run: | - env TEST_RUNNER_TDS_UT_FILE_NAME=tds-ios.json \ + env TEST_RUNNER_TDS_UT_FILE_NAME=ios-tds.json \ TEST_RUNNER_TDS_UT_URL=${{ inputs.ios_s3_url }} \ - TEST_RUNNER_TDS_REF_FILE_NAME=tds-ios.json \ + TEST_RUNNER_TDS_REF_FILE_NAME=ios-tds.json \ TEST_RUNNER_TDS_REF_URL=https://staticcdn.duckduckgo.com/trackerblocking/v5/current/ \ xcodebuild test-without-building \ -scheme TrackerRadarKit \ @@ -42,7 +42,7 @@ jobs: run: | env TEST_RUNNER_TDS_UT_FILE_NAME=macos-tds.json \ TEST_RUNNER_TDS_UT_URL=${{ inputs.macos_s3_url }} \ - TEST_RUNNER_TDS_REF_FILE_NAME=macos-tds.json \ + TEST_RUNNER_TDS_REF_FILE_NAME=macos-tds.json \ TEST_RUNNER_TDS_REF_URL=https://staticcdn.duckduckgo.com/trackerblocking/v6/current/ \ xcodebuild test-without-building \ -scheme TrackerRadarKit \ diff --git a/Tests/TrackerRadarKitPerformanceTests/NextTrackerDataSetPerformanceTests.swift b/Tests/TrackerRadarKitPerformanceTests/NextTrackerDataSetPerformanceTests.swift index 82f77cd..8efc943 100644 --- a/Tests/TrackerRadarKitPerformanceTests/NextTrackerDataSetPerformanceTests.swift +++ b/Tests/TrackerRadarKitPerformanceTests/NextTrackerDataSetPerformanceTests.swift @@ -140,19 +140,19 @@ class NextTrackerDataSetPerformanceTests: XCTestCase { } func loadParameters() throws { - if let envTdsFileName = ProcessInfo.processInfo.environment["TDS_UT_FILE_NAME"] { + if let envTdsFileName = ProcessInfo.processInfo.environment["TDS_UT_FILE_NAME"], !envTdsFileName.isEmpty { tdsUtFileName = envTdsFileName } - if let envTdsUrl = ProcessInfo.processInfo.environment["TDS_UT_URL"] { + if let envTdsUrl = ProcessInfo.processInfo.environment["TDS_UT_URL"], !envTdsUrl.isEmpty { tdsUtURL = envTdsUrl } - if let envRefTdsFileName = ProcessInfo.processInfo.environment["TDS_REF_FILE_NAME"] { + if let envRefTdsFileName = ProcessInfo.processInfo.environment["TDS_REF_FILE_NAME"], !envRefTdsFileName.isEmpty { tdsRefFileName = envRefTdsFileName } - if let envRefTdsUrl = ProcessInfo.processInfo.environment["TDS_REF_URL"] { + if let envRefTdsUrl = ProcessInfo.processInfo.environment["TDS_REF_URL"], !envRefTdsUrl.isEmpty { tdsRefURL = envRefTdsUrl } }