Skip to content

Commit

Permalink
reverting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
goergisn committed Dec 22, 2023
1 parent 58fa559 commit b09415b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 20 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/pr_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ jobs:
build:
env:
sonarToken: ${{ secrets.SONAR_TOKEN }}
device: 'iPhone-14'
runtime: 'iOS-17-0'
runs-on: macos-13-xl # Apple Silicon Runner
runs-on: macos-13-xlarge # Apple Silicon Runner

steps:
- uses: actions/checkout@v4
Expand All @@ -41,22 +39,15 @@ jobs:
run: |
Scripts/validate-Adyen-SDK-version.sh
- name: Pre-heat iPhone Simulator ${{ env.device }} ${{ env.runtime }}
id: sets-simulator
run: |
simulator_name=$(uuidgen)
simulator_id=$(xcrun simctl create $simulator_name com.apple.CoreSimulator.SimDeviceType.${{ env.device }} com.apple.CoreSimulator.SimRuntime.${{ env.runtime }})
xcrun simctl boot $simulator_id
echo "id=$simulator_id" >> "$GITHUB_OUTPUT"
- name: Clean Build and Test
run: |
xcodebuild -version
xcodebuild clean build test -project "${project}" -scheme "${scheme}" ${params} -destination "id=${{ steps.sets-simulator.outputs.id }}" | xcpretty --utf --color && exit ${PIPESTATUS[0]}
xcodebuild clean build test -project "${project}" -scheme "${scheme}" ${params} -destination "${destination}" | xcpretty --utf --color && exit ${PIPESTATUS[0]}
env:
project: 'Adyen.xcodeproj'
params: '-derivedDataPath ./DerivedData -enableCodeCoverage YES -skipPackagePluginValidation'
scheme: 'AdyenUIHost'
destination: 'name=iPhone 14,OS=17.0.1'

- name: Code Coverage
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-SPM-integration.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Test Swift Package Manager Integration

on:
# pull_request:
# types: [opened, synchronize, reopened]
pull_request:
types: [opened, synchronize, reopened]

push:
branches:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-carthage-integration.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Test Carthage Integration

on:
# pull_request:
# types: [opened, synchronize, reopened]
pull_request:
types: [opened, synchronize, reopened]

push:
branches:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_cocoapods_integration.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Test Cocoapods Integration

on:
# pull_request:
# types: [opened, synchronize, reopened]
pull_request:
types: [opened, synchronize, reopened]

push:
branches:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_library_evolution.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: 📚 Library Evolution Compatibility

on:
# pull_request:
# types: [opened, synchronize, reopened]
pull_request:
types: [opened, synchronize, reopened]

push:
branches:
Expand Down

0 comments on commit b09415b

Please sign in to comment.