Merge pull request #33 from kmatzen/fix/data-persistence-bugs #28
This file contains hidden or 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: Build & Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-and-test: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: SwiftLint | |
| run: | | |
| brew install swiftlint | |
| swiftlint lint --strict | |
| - name: List available simulators | |
| run: xcrun simctl list devices available | head -30 | |
| - name: Build | |
| run: | | |
| xcodebuild build \ | |
| -project Facett.xcodeproj \ | |
| -scheme Facett \ | |
| -destination "generic/platform=iOS Simulator" \ | |
| -quiet | |
| - name: Run Unit Tests | |
| run: | | |
| xcodebuild test \ | |
| -project Facett.xcodeproj \ | |
| -scheme Facett \ | |
| -destination "platform=iOS Simulator,name=iPhone 16" \ | |
| -only-testing:FacettTests/ParserTests \ | |
| -only-testing:FacettTests/SettingsTests \ | |
| -quiet |