Skip to content

Commit

Permalink
Tweaking runner actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mobrien-ghost committed Oct 20, 2024
1 parent 3f0b228 commit bb65732
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,29 @@ jobs:
run: xcodebuild build -scheme SyntaxSparrow -destination "OS=18.0,name=iPhone 16"

- name: Test
run: xcodebuild test-without-building -scheme SyntaxSparrow -destination "name=iPhone 16" -enableCodeCoverage YES
run: xcodebuild test-without-building -scheme SyntaxSparrow -destination "name=iPhone 16" -enableCodeCoverage YES

ios_tests_previous:
name: iOS Unit Tests
strategy:
matrix:
os: [macos-13]
swift: ["5.9", "5.8"]
runs-on: ${{ matrix.os }}
steps:
- uses: swift-actions/setup-swift@v1
with:
swift-version: ${{ matrix.os }}
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: .build
key: ${{ matrix.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ matrix.os }}-spm-
- name: Build
run: xcodebuild build -scheme SyntaxSparrow -destination "OS=17.2,name=iPhone 13"

- name: Test
run: xcodebuild test-without-building -scheme SyntaxSparrow -destination "name=iPhone 13" -enableCodeCoverage YES

0 comments on commit bb65732

Please sign in to comment.