Skip to content

Fix macOS test crash: read httpBodyStream when httpBody is nil #5

Fix macOS test crash: read httpBodyStream when httpBody is nil

Fix macOS test crash: read httpBodyStream when httpBody is nil #5

Workflow file for this run

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