Skip to content

Remove secrets from tests #98

Remove secrets from tests

Remove secrets from tests #98

Workflow file for this run

name: Unit Tests
permissions:
contents: read
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
- develop
jobs:
tests:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: n1hility/cancel-previous-runs@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Select latest Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '16.1'
- name: 🧪 Run Unit Tests
run: |
xcodebuild test \
-project "AdyenNetworking.xcodeproj" \
-scheme "UnitTests" \
-testPlan "UnitTests" \
-enableCodeCoverage YES \
-resultBundlePath "UnitTests.xcresult" \
-destination "name=iPhone 16 Pro,OS=18.1" | xcpretty --utf --color && exit ${PIPESTATUS[0]}