Skip to content

Commit

Permalink
sign to run locally
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielides committed Oct 10, 2024
1 parent c23adcb commit b092395
Showing 1 changed file with 45 additions and 45 deletions.
90 changes: 45 additions & 45 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,145 +48,145 @@ jobs:
- name: Dependencies
working-directory: ./dashsync/Example
run: pod install --repo-update
- name: Build for testing (with ad-hoc code signing)
- name: Build for testing (with "Sign to Run Locally" code signing)
working-directory: ./dashsync/Example
env:
scheme: ${{ 'DashSync-Example' }}
platform: ${{ 'iOS Simulator' }}
scheme: 'DashSync-Example'
platform: 'iOS Simulator'
run: |
xcodebuild build-for-testing \
-scheme "DashSync-Example" \
-scheme "$scheme" \
-workspace "DashSync.xcworkspace" \
-destination "platform=$platform,name=iPhone 13" \
CODE_SIGN_STYLE=Automatic \
CODE_SIGN_IDENTITY="-"
CODE_SIGN_IDENTITY="Sign to Run Locally"
- name: Test Crypto
working-directory: ./dashsync/Example
env:
scheme: ${{ 'DashSync-Example' }}
platform: ${{ 'iOS Simulator' }}
scheme: 'DashSync-Example'
platform: 'iOS Simulator'
run: |
xcodebuild test-without-building \
-scheme "DashSync-Example" \
-scheme "$scheme" \
-workspace "DashSync.xcworkspace" \
-destination "platform=$platform,name=iPhone 13" \
-testPlan CryptoTests \
CODE_SIGN_STYLE=Automatic \
CODE_SIGN_IDENTITY="-"
CODE_SIGN_IDENTITY="Sign to Run Locally"
- name: Test Derivations
working-directory: ./dashsync/Example
env:
scheme: ${{ 'DashSync-Example' }}
platform: ${{ 'iOS Simulator' }}
scheme: 'DashSync-Example'
platform: 'iOS Simulator'
run: |
xcodebuild test-without-building \
-scheme "DashSync-Example" \
-scheme "$scheme" \
-workspace "DashSync.xcworkspace" \
-destination "platform=$platform,name=iPhone 13" \
-testPlan DerivationTests \
CODE_SIGN_STYLE=Automatic \
CODE_SIGN_IDENTITY="-"
CODE_SIGN_IDENTITY="Sign to Run Locally"
- name: Test Libraries
working-directory: ./dashsync/Example
env:
scheme: ${{ 'DashSync-Example' }}
platform: ${{ 'iOS Simulator' }}
scheme: 'DashSync-Example'
platform: 'iOS Simulator'
run: |
xcodebuild test-without-building \
-scheme "DashSync-Example" \
-scheme "$scheme" \
-workspace "DashSync.xcworkspace" \
-destination "platform=$platform,name=iPhone 13" \
-testPlan LibraryTests \
CODE_SIGN_STYLE=Automatic \
CODE_SIGN_IDENTITY="-"
CODE_SIGN_IDENTITY="Sign to Run Locally"
- name: Test Governance
working-directory: ./dashsync/Example
env:
scheme: ${{ 'DashSync-Example' }}
platform: ${{ 'iOS Simulator' }}
scheme: 'DashSync-Example'
platform: 'iOS Simulator'
run: |
xcodebuild test-without-building \
-scheme "DashSync-Example" \
-scheme "$scheme" \
-workspace "DashSync.xcworkspace" \
-destination "platform=$platform,name=iPhone 13" \
-testPlan GovernanceTests \
CODE_SIGN_STYLE=Automatic \
CODE_SIGN_IDENTITY="-"
CODE_SIGN_IDENTITY="Sign to Run Locally"
- name: Test Payments
working-directory: ./dashsync/Example
env:
scheme: ${{ 'DashSync-Example' }}
platform: ${{ 'iOS Simulator' }}
scheme: 'DashSync-Example'
platform: 'iOS Simulator'
run: |
xcodebuild test-without-building \
-scheme "DashSync-Example" \
-scheme "$scheme" \
-workspace "DashSync.xcworkspace" \
-destination "platform=$platform,name=iPhone 13" \
-testPlan PaymentTests \
CODE_SIGN_STYLE=Automatic \
CODE_SIGN_IDENTITY="-"
CODE_SIGN_IDENTITY="Sign to Run Locally"
- name: Test Masternode Lists
working-directory: ./dashsync/Example
env:
scheme: ${{ 'DashSync-Example' }}
platform: ${{ 'iOS Simulator' }}
scheme: 'DashSync-Example'
platform: 'iOS Simulator'
run: |
xcodebuild test-without-building \
-scheme "DashSync-Example" \
-scheme "$scheme" \
-workspace "DashSync.xcworkspace" \
-destination "platform=$platform,name=iPhone 13" \
-testPlan MasternodeListTests \
CODE_SIGN_STYLE=Automatic \
CODE_SIGN_IDENTITY="-"
CODE_SIGN_IDENTITY="Sign to Run Locally"
- name: Test Wallet
working-directory: ./dashsync/Example
env:
scheme: ${{ 'DashSync-Example' }}
platform: ${{ 'iOS Simulator' }}
scheme: 'DashSync-Example'
platform: 'iOS Simulator'
run: |
xcodebuild test-without-building \
-scheme "DashSync-Example" \
-scheme "$scheme" \
-workspace "DashSync.xcworkspace" \
-destination "platform=$platform,name=iPhone 13" \
-testPlan WalletTests \
CODE_SIGN_STYLE=Automatic \
CODE_SIGN_IDENTITY="-"
CODE_SIGN_IDENTITY="Sign to Run Locally"
- name: Test Platform Transitions
working-directory: ./dashsync/Example
env:
scheme: ${{ 'DashSync-Example' }}
platform: ${{ 'iOS Simulator' }}
scheme: 'DashSync-Example'
platform: 'iOS Simulator'
run: |
xcodebuild test-without-building \
-scheme "DashSync-Example" \
-scheme "$scheme" \
-workspace "DashSync.xcworkspace" \
-destination "platform=$platform,name=iPhone 13" \
-testPlan PlatformTransitionTests \
CODE_SIGN_STYLE=Automatic \
CODE_SIGN_IDENTITY="-"
CODE_SIGN_IDENTITY="Sign to Run Locally"
- name: Test Transactions
working-directory: ./dashsync/Example
env:
scheme: ${{ 'DashSync-Example' }}
platform: ${{ 'iOS Simulator' }}
scheme: 'DashSync-Example'
platform: 'iOS Simulator'
run: |
xcodebuild test-without-building \
-scheme "DashSync-Example" \
-scheme "$scheme" \
-workspace "DashSync.xcworkspace" \
-destination "platform=$platform,name=iPhone 13" \
-testPlan TransactionTests \
CODE_SIGN_STYLE=Automatic \
CODE_SIGN_IDENTITY="-"
CODE_SIGN_IDENTITY="Sign to Run Locally"
- name: Test Locks
working-directory: ./dashsync/Example
env:
scheme: ${{ 'DashSync-Example' }}
platform: ${{ 'iOS Simulator' }}
scheme: 'DashSync-Example'
platform: 'iOS Simulator'
run: |
xcodebuild test-without-building \
-scheme "DashSync-Example" \
-scheme "$scheme" \
-workspace "DashSync.xcworkspace" \
-destination "platform=$platform,name=iPhone 13" \
-testPlan LockTests \
CODE_SIGN_STYLE=Automatic \
CODE_SIGN_IDENTITY="-"
CODE_SIGN_IDENTITY="Sign to Run Locally"

0 comments on commit b092395

Please sign in to comment.