diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 5598138..70bfbfa 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -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