Skip to content

Commit

Permalink
chore: updated test cases to use Mocker
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnv authored Jun 13, 2024
1 parent 856cb53 commit 0bbec69
Show file tree
Hide file tree
Showing 6 changed files with 104 additions and 180 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
pod lib lint --allow-warnings
pod trunk push --allow-warnings
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
gem install cocoapods
pod repo add-cdn trunk https://cdn.cocoapods.org/
- name: Lint and Test Cocoa Pod
run: pod lib lint --allow-warnings
run: pod lib lint --private --allow-warnings --verbose --fail-fast --skip-tests
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@
ReferencedContainer = "container:ImageKit.xcodeproj">
</BuildableReference>
</MacroExpansion>
<EnvironmentVariables>
<EnvironmentVariable
key = "IDEPreferLogStreaming"
value = "YES"
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
<CodeCoverageTargets>
<BuildableReference
BuildableIdentifier = "primary"
Expand Down Expand Up @@ -98,6 +105,13 @@
ReferencedContainer = "container:ImageKit.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<EnvironmentVariables>
<EnvironmentVariable
key = "IDEPreferLogStreaming"
value = "YES"
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
10 changes: 5 additions & 5 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
PODS:
- ImageKitIO (3.0.0)
- ImageKitIO/Tests (3.0.0):
- Mocker (~> 2.5)
- Nimble (~> 10.0.0)
- Quick (~> 5.0.1)
- Swifter (~> 1.5.0)
- Mocker (2.5.5)
- Nimble (10.0.0)
- Quick (5.0.1)
- Swifter (1.5.0)

DEPENDENCIES:
- ImageKitIO (from `../`)
- ImageKitIO/Tests (from `../`)

SPEC REPOS:
trunk:
- Mocker
- Nimble
- Quick
- Swifter

EXTERNAL SOURCES:
ImageKitIO:
:path: "../"

SPEC CHECKSUMS:
ImageKitIO: 11dcffa55ac6ae06520782886a45c7047477232d
ImageKitIO: 804da6f03a903c4f540d6a3c0dd8ee87e9f29040
Mocker: 8c731a8104962f246cadf2b02556218e9edc1390
Nimble: 5316ef81a170ce87baf72dd961f22f89a602ff84
Quick: 749aa754fd1e7d984f2000fe051e18a3a9809179
Swifter: e71dd674404923d7f03ebb03f3f222d1c570bc8e

PODFILE CHECKSUM: 406170311ac5dd5482330203b884d5db8ef323c7

Expand Down
2 changes: 1 addition & 1 deletion ImageKitIO.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ ImageKit is a complete image optimization and transformation solution that comes
test_spec.source_files = 'Tests/**/*'
test_spec.dependency 'Quick', '~> 5.0.1'
test_spec.dependency 'Nimble', '~> 10.0.0'
test_spec.dependency 'Swifter', '~> 1.5.0'
test_spec.dependency 'Mocker', '~> 2.5'
end
end
Loading

0 comments on commit 0bbec69

Please sign in to comment.