Move CI to macOS 13 / Xcode 15 #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
macos: | |
name: Tests | |
runs-on: macos-13 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Tests | |
run: xcodebuild build test -project TMLPersistentContainer.xcodeproj -scheme TMLPersistentContainer-macOS -enableCodeCoverage YES | |
- name: Generate coverage | |
uses: sersoft-gmbh/swift-coverage-action@v2 | |
with: | |
format: lcov | |
- name: Upload coverage | |
uses: codecov/codecov-action@v2 | |
with: | |
files: .swiftcov/TMLPersistentContainer.framework.coverage.lcov |