Prepares the tests, both local and remote #14
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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build-and-test: | |
| runs-on: macos-14 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check Swift version | |
| run: swift --version | |
| - name: Install SwiftLint | |
| run: brew install swiftlint | |
| - name: Install Dependencies | |
| run: make install-tools | |
| - name: SwiftLint | |
| run: make lint | |
| - name: Build | |
| run: make all | |
| - name: Run tests | |
| run: make test-all | |
| - name: Upload test results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-results | |
| path: TestResults/ |