Merge branch 'main' of https://github.com/gchriswill/OrSwift #24
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
| # This workflow will build a Swift project | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift | |
| name: Unit Tests | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Build | |
| run: swift build -v | |
| - name: Run Tests | |
| run: swift test -v --parallel | |
| - name: Test Summary | |
| run: | | |
| echo "✅ All tests completed successfully!" | |
| if: success() | |
| - name: Test Failure Report | |
| run: | | |
| echo "❌ Tests failed. Please check the test output above for details." | |
| if: failure() |