Skip to content

Fix isFinished calculcation for MergeSort #65

Fix isFinished calculcation for MergeSort

Fix isFinished calculcation for MergeSort #65

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.ref_name }}
cancel-in-progress: true
jobs:
get-environment-details:
name: Get Environment Details
runs-on: macOS-14
steps:
- name: Print OS SDKs
run: xcodebuild -version -sdk
- name: Print simulators
run: |
xcrun simctl delete unavailable
xcrun simctl list
test-iOS:
name: Test on Latest iOS
runs-on: macOS-14
steps:
- name: Checkout project
uses: actions/checkout@master
- name: Run tests
run: |
set -o pipefail
xcodebuild clean test -scheme sort-state-university -sdk iphonesimulator -destination "name=iPhone 14 Pro" -configuration Debug -enableCodeCoverage YES | xcpretty -c
test-macOS:
name: Test on Latest macOS
runs-on: macOS-14
steps:
- name: Checkout Project
uses: actions/checkout@master
- name: Run Tests
run: swift test
test-tvOS:
name: Test on Latest tvOS
runs-on: macOS-14
steps:
- name: Checkout project
uses: actions/checkout@master
- name: Run tests
run: |
set -o pipefail
xcodebuild clean test -scheme sort-state-university -sdk appletvsimulator -destination "name=Apple TV 4K (3rd generation)" -configuration Debug -enableCodeCoverage YES | xcpretty -c
test-watchOS:
name: Test on Latest watchOS
runs-on: macOS-14
steps:
- name: Checkout project
uses: actions/checkout@master
- name: Run tests
run: |
set -o pipefail
xcodebuild clean test -scheme sort-state-university -sdk watchsimulator -destination "name=Apple Watch Ultra (49mm)" -configuration Debug -enableCodeCoverage YES | xcpretty -c