Fix macOS test crash: read httpBodyStream when httpBody is nil #5
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: | |
| test-linux: | |
| name: Swift ${{ matrix.swift }} on Ubuntu | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| swift: ["5.9", "5.10"] | |
| container: | |
| image: swift:${{ matrix.swift }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build | |
| run: swift build | |
| - name: Test | |
| run: swift test | |
| test-macos: | |
| name: Swift on macOS | |
| runs-on: macos-14 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build | |
| run: swift build | |
| - name: Test | |
| run: swift test |