Refactor GitHub Actions workflow for Swift package testing

This commit is contained in:
Dimitris C.
2025-11-08 20:19:37 +02:00
committed by GitHub
parent 571feca637
commit c62aedd2ba
+6 -7
View File
@@ -10,15 +10,14 @@ on:
- '*'
jobs:
iOS:
name: Test iOS
test:
name: Test Swift Package
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer
strategy:
matrix:
destination: ["OS=latest,name=iPhone 17"]
steps:
- uses: actions/checkout@v2
- name: iOS - ${{ matrix.destination }}
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "AudioStreaming.xcodeproj" -scheme "AudioStreaming" -destination "${{ matrix.destination }}" clean test | xcpretty
- name: Build
run: swift build
- name: Run tests
run: swift test --parallel